Live data from Hacker News

The Crystal Programming Language

crystal-lang.org

41–50 of 116 posts

Re: The Crystal Programming Language

#42
post #36
post #23

I really like that Crystal keep silently improving and improving. As other said, it just needs a push and a few more important libraries. Really wishing that finally takes off.

Windows is still not exactly supported. The language is nice though. It seems like it would benefit from a bit more publicity.

It's almost fully supported on Windows currently. There's one open PR and one open issue [0] remaining before windows is considered supported.

[0] https://github.com/crystal-lang/crystal/issues/5430

Re: The Crystal Programming Language

#43
post #37

Earlier quoted context omitted.

Static typing is like salt, sprinkle a little bit and it enhances and gives flavor to your food. Too much of it and it completely ruins the dish.

It only "ruins the dish" if you don't want your dish to be correct.

Its either tasty or salty, never heard of a correct dish.

Re: The Crystal Programming Language

#44
post #12

I used Crystal to create a web application a 2-3 years ago. It is running great without any problems. There are not that many users (only about 300-400) at any time. Anyhow, I did not touch the application in the last two years, and did not use Crystal in the last two years for anything else. I used Rust to write some simple personal CLI apps, which was fun but also hard. For some reason, couple of days back I return…

Probably because of the Ruby inspired syntax which just brings joy. Hopefully the ecosystem can grow and partially catch up as well

I get no joy from Ruby syntax. Haskell syntax on the other hand I love...

Re: The Crystal Programming Language

#45

Huge props for the Crystal lang team. Crystal powers 90% of the Kagi search backend (reminder being Python). Highlights are great performance and concurency handling. Biggest downsides at this moment are compilation speed (does not take advantage of multi CPU cores) and debugging tools. Overall our experience has been fantastic (we adopted it while still in beta) and the pace the language is developing is great.

Ah, that's interesting information. I've been a (paid) user of Kagi these last few weeks and I'm really enjoying its snappiness. Of course, no ads or trackers must help - when I look at the Network tab in developer tools the comparison with a google search is stark. ~4 requests vs. google's ~50.

We obssess over performance, thanks for noticing that :)

Re: The Crystal Programming Language

#46

Huge props for the Crystal lang team. Crystal powers 90% of the Kagi search backend (reminder being Python). Highlights are great performance and concurency handling. Biggest downsides at this moment are compilation speed (does not take advantage of multi CPU cores) and debugging tools. Overall our experience has been fantastic (we adopted it while still in beta) and the pace the language is developing is great.

Wow! I’ve been paying for Kagi for as long as it’s been possible to, love the project & the search results are truly so much better than I’ve gotten from Big G for most queries. Never would’ve expected it to be using Crystal though! That’s really neat. Are there open source bits? I’d love to see some enterprise-level Crystal examples

We have plans for open sourcing our compontets, including a blog post from our lead dev about how we use Crystal, but never seem to find the time - always some bigger fish to fry.

Re: The Crystal Programming Language

#48

Looks interesting! I'm always open to a statically type checked language. This isn't about the language, but I was surprised to see that Nikola motors is a sponsor. Wasn't that company a fraudulent Hydrogen Fuel vehicle startup[1]? I wonder what the story is there- I find it hard to imagine anyone would be doing much software engineering at the company in the first place, even if it *were* working on the technologies…

Nikola had some trouble in the past, but it's actually doing remarkably well. They have electric trucks on the streets right now, with Crystal on board. Read more at https://manas.tech/blog/2020/02/11/nikola-motor-company/

Re: The Crystal Programming Language

#49

Earlier quoted context omitted.

Probably because of the Ruby inspired syntax which just brings joy. Hopefully the ecosystem can grow and partially catch up as well

i've seen that said so many times, and fail to understand why Ruby syntax brings joy. Personally, I thought the muddled Proc, block, and lambda situation a mess, coming from Scheme 30 years ago to Ruby 20 years ago.

I guess those things are a compromise. Being able to use that concept easily is a joy. The implementation prioritises developer convenience over syntactic purity. It’s a shame we can’t have both, but I accept the trade-off.

Re: The Crystal Programming Language

#50

Looks interesting! I'm always open to a statically type checked language. This isn't about the language, but I was surprised to see that Nikola motors is a sponsor. Wasn't that company a fraudulent Hydrogen Fuel vehicle startup[1]? I wonder what the story is there- I find it hard to imagine anyone would be doing much software engineering at the company in the first place, even if it *were* working on the technologies…

Yeah, and Meta uses Rust and contributed to a mass atrocity in Myanmar and is facing a $100BN+ lawsuit. Does that mean we should all stop using Rust because Meta is not only using it but also sponsoring the Rust Foundation as well?

I think you know the answer.

Post reply on HN