Live data from Hacker News

Crystal 0.25.1 released

crystal-lang.org

41–50 of 154 posts

Re: Crystal 0.25.1 released

#41

Anyone using Crystal in production? What do you use it for?

We're currently using Crystal 0.25.1 with the Kemal web framework to provide an online paycheck calculator for US based employees (it's basically a demo/tool for our SaaS based accounting, payroll and fund raising app).

Really impressed with the language so far and hope to expand its use within our organization.

Re: Crystal 0.25.1 released

#42
post #40

Earlier quoted context omitted.

No opinion as I didn't look at it. I was more focused on more mature languages and Crystal came up on my radar so I read around it.

Hrm. Your post implies that Crystal is more mature than Nim, is that intentional? If so, what makes you think that?

Oh I didn't mean to imply that. I meant I was researching mature/mainstream languages and outside of the scope of that research, it just so happened a friend mentioned Crystal. So I looked into it.

I know absolutely nothing about Nim so I can't comment either way.

Re: Crystal 0.25.1 released

#44
Are compilation times still incredibly slow?

That was the deal breaker for me with crystal, toy project of maybe a few hundred lines of code taking 30+s to compile

edit: specifically a static release compile, with

    shards build --no-debug --release --link-flags "-static"

Re: Crystal 0.25.1 released

#45
post #26

Earlier quoted context omitted.

Probably because they loved the language. Humans are humans, and not everything is made with a rational financial decision. If you use the language, and like ruby and static typing, you'll find that there's a lot to love.

I see your point, but I sympathise with it less and less as time goes on. Programming languages are just tools. Software development should strive to be a proper, rational, engineering discipline. Humans aren't robots, but one's choice of development tools is steered by real forces, both technical and business. I don't see that whim, unconstrained by such forces, has any place in the decision. Same goes for curiosity…

It's always a tradeoff between having fun and accepted practice, and I'm glad for the brave souls who do use Crystal in production. After all, every mature language was once someone's toy, and you can never get from one to the other without many successive firsts.

I'm not here to recommend people use it in production, but I can understand the mindset of people who do.

Re: Crystal 0.25.1 released

#46
post #26

Earlier quoted context omitted.

Probably because they loved the language. Humans are humans, and not everything is made with a rational financial decision. If you use the language, and like ruby and static typing, you'll find that there's a lot to love.

I see your point, but I sympathise with it less and less as time goes on. Programming languages are just tools. Software development should strive to be a proper, rational, engineering discipline. Humans aren't robots, but one's choice of development tools is steered by real forces, both technical and business. I don't see that whim, unconstrained by such forces, has any place in the decision. Same goes for curiosity…

> Software development should strive to be a proper, rational, engineering discipline.

Well, to use an analogy from civil engineering, I don't think choosing a programming language is always as critical as which type of concrete you choose and how it's reinforced. While it's true you wouldn't choose just any language, there is more room for preference here. Especially because you can switch languages for a project, but practically can't switch the material used in the foundation of a building.

> I just wouldn't want to try to argue to management that using it is in the company's best interest.

In some companies you don't need to argue with management about that decision. Also, a language being less popular or obscure doesn't mean you can't evaluate it's stability and feel comfortable enough with where it's at to use it. I'm glad people do because otherwise we wouldn't even see any language as popular as it is.

Re: Crystal 0.25.1 released

#47

Are compilation times still incredibly slow? That was the deal breaker for me with crystal, toy project of maybe a few hundred lines of code taking 30+s to compile edit: specifically a static release compile, with shards build --no-debug --release --link-flags "-static"

I’ve been using crystal for moderately sized personal projects for a few months now - I’ve never experienced any unreasonable compilation times. If you tried crystal a long time ago, I’d recommend giving it another shot!

Re: Crystal 0.25.1 released

#48

Are compilation times still incredibly slow? That was the deal breaker for me with crystal, toy project of maybe a few hundred lines of code taking 30+s to compile edit: specifically a static release compile, with shards build --no-debug --release --link-flags "-static"

The compiler takes about 30 seconds or a bit more to compile, and it has around 50000 lines of code. Do you have the few hundred lines that took you 30+s to compile?

Re: Crystal 0.25.1 released

#49
post #35
post #6

Earlier quoted context omitted.

I'm not sure why anyone would actually use it in the current state, unstable, lack of libraries, lack of community and the biggest problem no multi-threading / windows support

We use it in production. The web framework side of crystal is IMO more mature than what you find in Node.js, Python, etc. About a year ago we tried moving everything to Express because it's super easy to find fledgling js developers, but Express simply lacked most of the features we needed, even when supplemented by npm, whereas Amber did everything we needed literally out of the box. Edit: Sails is not what it claim…

> Sails.js is probably the closest thing to sane in the JS web framework ecosystem

Whoa, that's where you lost me. Sails has a reputation for being horrible, and after working on a production app using Sails, I agree. Perhaps you were wanting something like Rails but in JS, which is what Sails claims to be, but it barely lives up to that. I don't know if there are other frameworks that try to be the Rails of JS but it wouldn't be hard to better than Sails. I'm interested in hearing why you think it's so sane (no snark, I'm sincerely curious)

Re: Crystal 0.25.1 released

#50
post #49
post #35

Earlier quoted context omitted.

We use it in production. The web framework side of crystal is IMO more mature than what you find in Node.js, Python, etc. About a year ago we tried moving everything to Express because it's super easy to find fledgling js developers, but Express simply lacked most of the features we needed, even when supplemented by npm, whereas Amber did everything we needed literally out of the box. Edit: Sails is not what it claim…

> Sails.js is probably the closest thing to sane in the JS web framework ecosystem Whoa, that's where you lost me. Sails has a reputation for being horrible, and after working on a production app using Sails, I agree. Perhaps you were wanting something like Rails but in JS, which is what Sails claims to be, but it barely lives up to that. I don't know if there are other frameworks that try to be the Rails of JS but i…

I'm going to retract my statement about Sails. I had a lot of trouble with it when I went to use it, but I thought it was just me. It seems it really is crappy as well.
Post reply on HN