Why is no one acknowledging Crystal?

It's one of the best languages to arise in this decade.

>syntax style of Ruby yet faster
>Faster than golang and nodejs
>Tons of web frameworks
>Many libraries, SFML bindings, OpenGL bindings, database libraries and more
>comfy

Why aren't you using it?

Other urls found in this thread:

stefanwille.com/2015/05/redis-clients-crystal-vs-ruby-vs-c-vs-go/
github.com/crystal-lang/crystal/wiki/Crystal-for-Rubyists
crystal-lang.org/docs/syntax_and_semantics/and.html
pastebin.com/raw/fnCKMER7
twitter.com/NSFWRedditImage

>ruby like syntax
/thread

I'd use it over node.js any day!
Just look at how comfy it is
# A very basic HTTP server
require "http/server"

server = HTTP::Server.new(8080) do |context|
context.response.content_type = "text/plain"
context.response.print "Hello world, got #{context.request.path}!"
end

puts "Listening on 127.0.0.1:8080"
server.listen

With better the speed too!

So basically if you know Ruby you know Crystal? Just Crystal is better?

Crystal has some of it's syntax inspired from ruby, there's a lot of different features in Crystal I've seen

What can I build with it that Ruby can't?

>test(s) used for comparison not mentioned
You'll need more than this and some fancy words to convince me you're not a shill.

Here's where I got my info from of it's speed
stefanwille.com/2015/05/redis-clients-crystal-vs-ruby-vs-c-vs-go/

I don't know Ruby myself but this seems to cover it
github.com/crystal-lang/crystal/wiki/Crystal-for-Rubyists

># A very basic HTTP server
>require "http/server"
i wanna die

The macro feature seems very nice, but the lack of operators such as "&&" and "||" is a downside for me. It really does look like Ruby with another name, I wonder what Matz thinks about this language

wow that looks like aids

What? it has "&&' and "||"
scroll down it's there
crystal-lang.org/docs/syntax_and_semantics/and.html

Oops, I read it wrong, it doesn't support "and" and "or" yet

I do not know Crystal nor Ruby very well, but judging from your example, Python has already covered it very well, at least in terms of syntax and modules/libraries.

So the question is, why should someone use Crystal instead of pure Ruby or Python? Is speed the only advantage or is there something more?

Speed. It's also compiled if that's your thing

Oh look! Another hipster language.

No windows compatibility
No official benchmarks, it just SAYS its "fast as C"

>Python
>Web
Worse than javashit cancer, you should fucking hang yourself

Literally every language requires you to import the HTTP package, there's no reason to include that in the stdlib

except languages where you're expected to actually write the http server and can't just import it and call it yours, you fuckin goon.

>If you don't write it from scratch it's a bad language!
ok.

I don't like intersection types.

>I want to waste time reinventing mature established standards
This is not how you get anything productive done. And if you really want to, you're free to, it's not like this prevents you from writing your own.

hey guys watch me do a backflip
*backflip*
Why aren't you clapping?

>Look at those faggots driving cars made in a factory
>Real men build their own cars!
>Of their own design!
>From scratch!
>Who cares if the internal combustion engine has been used for over a century!
>I'm gunna use an EXTERNAL combustion engine!

Probably because it's still in fucking Alpha, and I don't tend to hear about it outside of Sup Forums.

If you want a userbase:
1. Get a stable release
2. Get libraries
3. Advertise like a mad cunt.

>Check out this cool HTTP server I made in C
>#include "http.c"
>int main() {
>do_http()
>}

>He didnt write a standardized netcode implementation himself!
>HE'S A HACK!
>KILL HIM
There's literally nothing with importing HTTP libraries

Fortran is faster

>Crystal
>real language
pick one

You're not demonstrating anything with "do_http()"

>Why is no one acknowledging Crystal?

Because it has no working gc (yet?). But other than that, crystal is quite nice.

There were things before it, notably Mirah.

>0.18.7
On a scale of 1 to 10 how ready for production would you say this thing is?

pastebin.com/raw/fnCKMER7
rate my http server Sup Forums

Perfectly acceptable. Unless you're writing in machine code you're a fucking hypocrite.

shit syntax, my man
/thread

As another alt-Ruby language, what do you think about Elixir?

It gives us tons of new features: FP/pattern match/OTP.

> comparing performance against Ruby to prove a point

meme someplace ell

>no windows support
fucking dropped.

BASED CRYSTAL

>being this aggressive because of a simple question
It's a proven fact that Python can handle it very well, like it or not.

You also should note that I'm not endorsing the use of Python instead of Crystal (although there's nothing wrong with both of them), just stating the fact that Python can do the example just as the same and asking why does one should use Crystal instead.

Pajeet, please, stop advertising your C translator piece of shit that doesn't even work outside of the unix world

>Pajeet, please, stop advertising your C translator piece of shit that doesn't even work outside of the unix world
>doesn't even work outside of the unix world
>outside of the unix world
And what world do you live in, Anonymous?
Because that world's days are numbered.
I bet you even watched anime while going in debt to attend college.

*claps*

>it's 20 times faster than Ruby
>sounds good except Ruby is 150 times slower than Javascript
That's why.