Live data from Hacker News

Lilith: x86-64 OS written in Crystal

github.com

81–90 of 265 posts

Re: Lilith: x86-64 OS written in Crystal

#81
post #72

Earlier quoted context omitted.

The Soul of a New Machine has an amazing passage on a software developer from Data General being too inexperienced to realize that what he was doing couldn't be done, and finishing it in record time. It's safe to say that people who aren't aware of or ignore limits put out better work on average than people who don't.

That seems decidedly unsafe to say, but even if you’re right, the second paragraph doesn’t follow from the first. “Everyone generalizes from one example! At least, I do.”

It's been shown repeatedly. Arthur Whitney is another example. In fact, basically every major technological innovation of the past two centuries has been because of people doing this.

The first was just to share an example. The second paragraph is common knowledge.

Re: Lilith: x86-64 OS written in Crystal

#83
post #50
post #29

Earlier quoted context omitted.

That's like recommending Office via Wine in 2001.

Not in the slightest. WSL is capable for most things. Wine in 2001 was not usable

At that time I used it to play StarCraft and burn CDs with Nero Burning ROM, on Slackware. It was indeed usable!

Re: Lilith: x86-64 OS written in Crystal

#84
post #12

Earlier quoted context omitted.

Maybe it's just because I come from Ruby, but Crystal seems like an amazing language. I'm interested why it seems to be getting little attention compared to Go, Rust, & Julia. It seems in the same league to me. Kotlin and Swift have more obvious reasons for their adoption.

What's Crystal's unique selling point? It's older than Rust, Kotlin, Swift, Nim, or even OCaml, and doesn't really offer anything they don't. More Ruby-like syntax? Fine, but most people don't particularly like Ruby syntax.

It's for Ruby's developer friendly syntax. That's a huge selling point!

Re: Lilith: x86-64 OS written in Crystal

#85
post #76
post #17

Earlier quoted context omitted.

I found Crystal about a year ago and absolutely fell in love with it. It just “clicks” for me. My sense from reading most peanut-gallery commentary that the biggest reasons it hasn’t taken off more (yet) are: 1. Real multi-threading (it’s now in alpha - but previously just had single-threaded concurrency - and sorry I might be getting that terminology wrong). 2. Windows support (I personally don’t care but I haven’t…

Lots of the crop of new languages with cleaner designs have huge problems with windows. V doesn't work on windows and zig's compiler fails if you use carriage return newlines. They even built in an error message for it instead of just making the parser work. It's kind of ridiculous how these languages shoot themselves in the foot.

I think Zig is probably just being opinionated there; many of the new languages seem to be overly so. Last I checked, both the Zig and Nim compilers refused (on principle, not for any technical reason) to compile code containing tabs (among other things). I don't (usually) want my compiler to do linting, and I certainly don't want language authors to dictate my code style from on high.

Re: Lilith: x86-64 OS written in Crystal

#86

Neat project, though slightly undermined by the drawing of the half-naked underage girl in the readme

So

This guy (an high school student), writes a OS, from scratch, and you made an account to say that his choice of wallpapers "undermines" his project.

I guess you're one of the people that supports things like that bullshit code of conduct that is popping up pretty much everywhere.

RIP the hacker spirit of the 70s. May it rest in peace. Welcome to this brave new world where people like you are welcome instead of being mocked all the way to middle management meetings room, where they belong to.

Re: Lilith: x86-64 OS written in Crystal

#87
post #64
post #56

Earlier quoted context omitted.

If you install an X server for Windows, yes.

I've purchased X410 for this. Since then I haven't looked to see if there are free implementations of an X server that work nicely with WSL.

X servers pays along with WSL as well as with anything else. I've used Xming and VcXsrv with WSL without any problem specific to WSL.

Re: Lilith: x86-64 OS written in Crystal

#89
I've been following Crystal for long time (Shameless plug I've been running a geo-location service in production for years now https://gitlab.com/maxpert/crlocator and it works flawlessly). Despite the setbacks in past Crystal has continued to evolve and I am waiting for fully baked version 1. I am not surprised that Crystal can pull of something like running a complete operating system. Modern language landscape is getting populated and brings novel ideas (Rust, Zig, Golang, Julia); and Ruby's nice syntax with efficiency of compiled language IMOH still remains desirable for a lot of us.

Re: Lilith: x86-64 OS written in Crystal

#90
post #12

Earlier quoted context omitted.

What's Crystal's unique selling point? It's older than Rust, Kotlin, Swift, Nim, or even OCaml, and doesn't really offer anything they don't. More Ruby-like syntax? Fine, but most people don't particularly like Ruby syntax.

Kotlin - it's on JVM which is a good thing for some and a bad thing for others. It's easier to distribute standalone crystal binary for example. Swift - crystal throws exceptions, swift explodes... Ocaml - the functional approach is not for everyone. Rust - I like rust a lot. But sometimes I want to write something quick and I'm happy to sacrifice some memory and speed to not have to deal with the ownership issues. N…

You can use Kotlin/Native [0] or just plain Kotlin over Java with GraalVM which produces compact binaries.

[0] https://kotlinlang.org/docs/reference/native-overview.html

Post reply on HN