news.volyx.in

Lilith: x86-64 OS written in Crystal (github.com)

542 points by hootbootscoot · 2487 days ago · 251 comments on HN

Article summary

Lilith is a POSIX-like x86-64 kernel and userspace written in Crystal, a programming language that offers a simple porting process for Ruby codebases. The operating system features basic x86-64 support, hybrid conservative-precise incremental garbage collector, and preemptive multitasking. It also includes a window manager and graphical programs. The project is licensed under MIT and available on GitHub.

Main themes

  • Crystal programming language
  • Operating System Development
  • Ruby codebase porting
  • POSIX-like kernel
  • Preemptive multitasking

What commenters say

  • Crystal is a viable alternative to other programming languages like Go and Rust, offering a unique combination of features and performance.
  • The language's similarity to Ruby makes it an attractive option for developers already familiar with Ruby, but its lack of libraries and community support is a significant drawback.
  • Porting existing Ruby code to Crystal can be a relatively straightforward process, but it may not be worth the effort for all projects.
  • Crystal's performance and concurrency model make it a compelling choice for certain use cases, but its relatively young age and limited ecosystem are notable disadvantages.
  • The benefits of using Crystal, including its speed and efficiency, may be outweighed by the costs of maintaining a separate codebase and ecosystem.
  • Crystal's unique selling point is its ability to provide a familiar syntax for Ruby developers while offering improved performance and type guarantees.
  • The age of the Crystal language is a matter of debate, with some considering it to be around 7 years old and others considering it to be younger.