I like the first code example on https://crystal-lang.org- Source: Hacker News / 4 months ago# A very basic HTTP server.
If you're interested, take a look at Crystal (https://crystal-lang.org/)! - Source: Hacker News / 4 months ago
Obviously as an interpreted language, it's never going to be as fast as something like C, Rust, or Go. Traditionally the ruby maintainers have not designed or optimized for pure speed, but that is changing, and the language is definitely faster these days compared to a decade ago. If you like the ruby syntax/language but want the speed of a compiled language, it's also worth checking out Crystal[^1]. It's mostly... - Source: Hacker News / 4 months ago
Crystal is a nice language that's not only simple to read and write but performs very well too. And the documentation is amazing as well. Source: 5 months ago
Ruby is a super fun scripting language. I much prefer it to python when I need something with a little more "ooomph" than bash. It's just...nice...to write in. Ruby performance has come a long way in the last decade as well. There's libraries for pretty much everything. My modern programming toolkit is basically golang + ruby + bash and I am never left wanting. I do find Crystal (https://crystal-lang.org/) really... - Source: Hacker News / 5 months ago
Still think that crystal might be more interesting in a similar niche? https://crystal-lang.org/. - Source: Hacker News / 7 months ago
I'm starting to think that I might be in a lot of ways describing Crystal, just with (simple) FP focus instead of OOP. Source: 10 months ago
Technologically robust, making use of open source frameworks that ensure scalability of usage and auditability of the codebase. So, no PHP-based rickety structures or the secret devising of some lone wolf developer. This can't be trusted by anyone: its development must be done in the public repositories. Consider using a Crystal framework such as Amber, which is a compiled-to-binary Ruby clone, lightning-fast (it... Source: 11 months ago
"System time" rather than "user time" is the majority (7.94s system time, 2.83s user time in the 20.25s wall time run). Is this pointing to memory allocations? Crystal Fiber docs https://crystal-lang.org/api/1.8.2/Fiber.html says "A Fiber has a stack size of 8 MiB which is usually also assigned to an operating system thread. But only 4KiB are actually allocated at first so the memory footprint is very small." --... - Source: Hacker News / 11 months ago
I still just document everything using YARD and focus on designing really obvious Object Models and of course write tests. I have tried using sord to convert my YARD type annotations to RBS or RBI, but you still have to fill in missing bits, then use steep and somehow load in RBS/RBI files for other gems and stdlib, and it's just an uphill battle since Ruby is dynamically typed by default. Obviously Dynamic Typing... Source: 12 months ago
Lucky is a full-stack framework written in the Crystal programming language. One of the neat benefits of using Lucky with Crystal is the typesafety you get. - Source: dev.to / 12 months ago
Over the years, I’ve gone from Time Warner’s Road Runner, to Tumblr, to GitHub Pages, to Godaddy hosted WordPress. Though, after Godaddy messed up a migration, I switched to self-hosting on Heroku. I wrote my blog engine using Crystal. Reference: ejstembler.com. Source: 12 months ago
The README describes the language as a systems-focused version of Python. In that sense it's similar to Crystal, a systems-focused version of Ruby. Also, Nim is a statically typed systems programming language with Python-like syntax. Source: about 1 year ago
Have you ever heard of this amazing language called Crystal? Okay, let's understand a little bit about everything this amazing programming language has to offer. - Source: dev.to / about 1 year ago
If you're considering Ruby, maybe take a look at Crystal. Source: about 1 year ago
Keep in mind that shipping "compiled" ruby can still be reverse engineered, but it will take time and be painful, so it's not really a protection but more like a due-diligence to deter lazy thieves. JRuby + Warbler is a good option, but JRuby is incompatible with C extensions, so you'll need to find pure-Ruby or JRuby-compatible alternatives or use FFI gem alternatives. If your app is small enough, you could... Source: about 1 year ago
Well done for showing a few examples on the front page. You passed the test! However they don't really show many characteristics or features of Barn. You should add some more complex examples. Take a look at Crystal to pick a random decent example - they start with a basic syntax example, and then have further examples to demonstrate unique features (or at least features). Source: about 1 year ago
I really wish Crystal took off. I think it came out a little too late (and after TS had established itself as the leader of the "statically typed clone of a popular dynamic language" niche). Source: about 1 year ago
This is another post about the Battlesnake project I've been working on while diving in Crystal lang. - Source: dev.to / about 1 year ago
Rust is increasingly beginning to be integrated into Linux Kernel Modules, Android, and even Ruby's new YJIT. C served it's purpose, but it should not be used anymore due to all of the security vulnerabilities it has allowed over the decades. Use Go, Rust, Crystal, Nim, Zig (no GC), or even V (no GC) instead, literally anything besides C/C++. If you still insist on continuing to use C/C++ for new projects, you are... Source: about 1 year ago
C is an insecure language, it's far to easy to trigger integer overflows that can lead to memory corruption, and C compilers are full of Undefined Behavior. I use Crystal for "real programs", since it has the same syntax/OOP as Ruby, but with stricter type checking and integer overflow/underflow guards. Source: about 1 year ago
Do you know an article comparing Crystal (programming language) to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Crystal (programming language). You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.