Live data from Hacker News

Crystal 1.0 – What to expect

crystal-lang.org

231–240 of 351 posts

Re: Crystal 1.0 – What to expect

#231

Earlier quoted context omitted.

This is great, thanks for putting in the time to put this together! Side note: Anybody know of tools that auto-compile lists like this? I'm sure it's not perfect, but these sorts of reviews really add value to the current conversation.

well! allow me to share a feature i discovered a few days ago after reading for years. when you browse via the web (unsure which apps support this feature), clicking the title - in this case, Crystal 1.0 – does what you expect and takes you to the article. in tinier font next to the title - in this case, (crystal-lang.org) - is a link that shows all the previous HN submissions for that website, which happens to be pr…

WHAT! I have been on HN for over a decade and I didn't know this. Thank You.

Re: Crystal 1.0 – What to expect

#232
post #84

Earlier quoted context omitted.

still no windows support :( desktop gui development was my main wish for crystal too, but ruling out a bunch of end users right out of the box was not an option.

It looks like Windows support is preliminary. They are working on it...

https://github.com/crystal-lang/crystal/issues/5430

this issue tracks Windows progress, it hasn't been really updated in a while. I've been following Crystal Windows port for over a year, nothing changed yet.

Re: Crystal 1.0 – What to expect

#234

It feels like Crystal it took all the best things from the languages I love, and put them together into one, beautiful language: - Elegance of Ruby - Statically type checked + global type inference - No Nulls - Go-like concurrency - Easy C ffi - High performance I really hope the Crystal succeeds and the language goes mainstream - this release is a huge step forward towards that. Congrats to the Crystal team for reac…

Also, it produces binaries (probably similar to golang) which are a reasonable size considering there is a garbage collector. No giant interpretors or VMs required. And macros.

What is the compilation speed like?

EDIT: also forgot to ask if Crystal has a "killer app" yet? Ruby had Rails, Python had scipy/pandas(several others), Rust had servo etc.

Re: Crystal 1.0 – What to expect

#235
Congratulations on this release :) A big achievement!

I played around with crystal two years ago and really liked the approach. To me it's a nice statically typed Ruby with a simpler "meta"-programming through macros.

Decent multi-core support is the next milestone for the project and I'm looking forward to it :)

Anyone knows how good the tooling around crystal is nowadays? When I used it for a pet project there was no decent language server and it felt as I was using a notepad. How is https://github.com/elbywan/crystalline or https://github.com/crystal-lang-tools/scry nowadays?

Would be cool if every language provided their own language server as part of the base release, I guess.

Re: Crystal 1.0 – What to expect

#236

Earlier quoted context omitted.

> Once replaced a python script while it was running. Expected time, python: 12 hours. Time to get it running in Crystal: 20 min. Time to finish in Crystal: 12 minutes. Can you please elaborate on this?

Reallity probably is that code was not optimized python which was writen as POC and not touched after initial write. Python is usually fast enough when using numpy,scipy etc.

At that point, you're not really "writing Python", though. You're really using Python to orchestrate a bunch of native transformations.

Re: Crystal 1.0 – What to expect

#237

Earlier quoted context omitted.

Also, it produces binaries (probably similar to golang) which are a reasonable size considering there is a garbage collector. No giant interpretors or VMs required. And macros.

What is the compilation speed like? EDIT: also forgot to ask if Crystal has a "killer app" yet? Ruby had Rails, Python had scipy/pandas(several others), Rust had servo etc.

Why is that important given Moores law and fast developer workstations?

Everyone seems so preoccupied with compile speed for Crystal.

Re: Crystal 1.0 – What to expect

#238

Earlier quoted context omitted.

What is the compilation speed like? EDIT: also forgot to ask if Crystal has a "killer app" yet? Ruby had Rails, Python had scipy/pandas(several others), Rust had servo etc.

Why is that important given Moores law and fast developer workstations? Everyone seems so preoccupied with compile speed for Crystal.

The question is legit, though.

Re: Crystal 1.0 – What to expect

#239

Earlier quoted context omitted.

Why is that important given Moores law and fast developer workstations? Everyone seems so preoccupied with compile speed for Crystal.

The question is legit, though.

Sure enough. Still wondering about why.

Re: Crystal 1.0 – What to expect

#240

Earlier quoted context omitted.

What is the compilation speed like? EDIT: also forgot to ask if Crystal has a "killer app" yet? Ruby had Rails, Python had scipy/pandas(several others), Rust had servo etc.

Why is that important given Moores law and fast developer workstations? Everyone seems so preoccupied with compile speed for Crystal.

Because high compilation times can be a major turnoff, and the single-threaded performance of a beefy developer workstation is not that much higher than that of a regular machine. You can't always throw more cores at a problem, and Moore's Law hasn't exactly been holding true lately.
Post reply on HN