Live data from Hacker News

Lilith: x86-64 OS written in Crystal

github.com

41–50 of 265 posts

Re: Lilith: x86-64 OS written in Crystal

#41
post #32

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

I dont believe she is underage. But she is half naked

And the windows are carefully positioned as to put her at the focus of the screenshot. And the project is named after a succubus? The overt objectification is unnecessary and unprofessional.

Re: Lilith: x86-64 OS written in Crystal

#42
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 possible that some (many?) programmers enjoy a Ruby-like syntax?

Re: Lilith: x86-64 OS written in Crystal

#43
post #3

Wow. That's impressive. Crystal is a solid alternative to Go. I gave it a solid look when figuring out which language I should learn. The only reason Crystal didn't make it is because it's just missing some core features. The one that sticks out is there is no way to get the length of a channel last time I looked. But this is impressive and I can't wait to see what's next

I have the same feeling as yours. I wish Crystal web server could be customisable, and lack of gRPC, HTTP/2 (only separate repo) and QUIC going to take more time to implement.

Re: Lilith: x86-64 OS written in Crystal

#44
post #21
post #15

Earlier quoted context omitted.

> It's older than Rust, Kotlin, Swift, Nim, or even OCaml, and doesn't really offer anything they don't. Crystal is only five years old. Nim is 11, Rust is 9, Kotlin is 8, OCaml is 23 and Swift is 5. Basically, Crystal is tied with Swift as the youngest. What it offers right now is a simple porting process for those with Ruby codebases.

I think they meant younger. But, yeah, besides the syntax familiarity for Ruby programmers it doesn't seem offer much that the others do.

Okay, port your existing Ruby code to a compiled language, giving it multiple times the speed? Maybe three is a slight business opportunity here.

Also, give your developers a more productive language that can go where Ruby can't (like OS development), which is 90% instantly recognizable — may also be worth something?

Re: Lilith: x86-64 OS written in Crystal

#45
post #16
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.

C bindings, strongly-typed, a great concurrency model, very fast, and Ruby-like syntax. That makes it a very unique and appealing language to me (and others). If you / most people don’t particularly like the Ruby-like syntax, then Crystal might not appeal to you. But I can assure you to those of us who like the syntax, the language is wonderful and super fun to work with.

> C bindings, strongly-typed, a great concurrency model, very fast

My point is that all this is normal, and all the languages I list have offered it for longer than Crystal.

Re: Lilith: x86-64 OS written in Crystal

#46
post #44
post #21

Earlier quoted context omitted.

I think they meant younger. But, yeah, besides the syntax familiarity for Ruby programmers it doesn't seem offer much that the others do.

Okay, port your existing Ruby code to a compiled language, giving it multiple times the speed? Maybe three is a slight business opportunity here. Also, give your developers a more productive language that can go where Ruby can't (like OS development), which is 90% instantly recognizable — may also be worth something?

Is it really so hard to port Ruby code to any of the languages I mentioned? Even with Crystal you will still have to make changes to your code, is having to use a slightly different syntax such a big difference? If you've got Ruby code and you haven't already ported it, how badly do you need the speed?

Re: Lilith: x86-64 OS written in Crystal

#48
post #28

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.

It lacks first-class Windows support. That's it. That's why it fails to gain the traction it deserves.

But then, developing an OS in Windows is akin to racing a Ford on a formula one track. Just why bother? Why not use an OS that doesn't need a whole weeks worth of reboots and regedits to set up the Dev environment correctly?

Re: Lilith: x86-64 OS written in Crystal

#49
post #35

Just this morning I was pondering the same thing in Elixir. I wonder if Elixir and Crystal compete for ruby developers to pick up

I think Ruby developers are a lot more likely to switch to Crystal than Elixir. Elixir encourages a much more functional style than I think Ruby developers are used to.

Probably depends on the type of Ruby developer. As a Rails guy Elixir seems more useful for my day-to-day but Crystal is indeed compelling.
Post reply on HN