Drop all other general purpose programming languages, use Crystal

Drop all other general purpose programming languages, use Crystal.

Fast as C, slick as Ruby.

youtube.com/watch?v=m8bYqfrGjGo

Website:
crystal-lang.org/

Playground:
play.crystal-lang.org/#/cr

Popular projects:
kemalcr.com/
github.com/veelenga/awesome-crystal
github.com/charly-lang/charly
github.com/Fusion/libui.cr
github.com/lucaong/immutable
and many more...

Other urls found in this thread:

crystal-lang.org/api/master/Pointer.html#malloc(size:Int,value:T)-class-method
twitter.com/NSFWRedditVideo

I want to, but my boss doesn't like it because everybody here only knows C++

Keep in mind it has garbage collection.

You can do manual memory management tho

How to install on Windows?

>remove windows
>install linux or *BSD
>install crystal through package manager
It's easy

What's the purpose of learning a language so unknown

Any better ways to learn it than just the documentation on the website?

To write your own projects, to work on projects that only a small team is working on, to practice learning and keep your skills fresh, and to get a head start in case it picks up.

Funny how beta cvcks and SOCIALJUSTICEWARRIORS are trying to implement alternatives in programming with shits like rust and so on.

Sadly for them, what has always worked will work forever and ever.

No matter how hard you try with your transprogramming propaganda, you will be utterly BTFO again and again.

No one cares about hobby languages and will never care. bye

With the Nim programming language, I managed to program myself a wife in only three days.

I'd argue that these movement of adding static typing to languages, which is a large part of crystal, is the opposite of SJW. Now variables are one type from birth, unchangeable, as nature intended.

It's making the programming language more fascist, thus better.

It's not a sjw language, they just took ruby and made it fast

did they go from binary to assembly?
That means I don't need the java SDK now?

But how fast is it, really?

How different is it compared to ruby?

Just learn scheme first

Perhaps learn Ruby first then, since the syntax is so similar and Ruby has a wealth of learning resources.

>It's making the programming language more fascist
please leave

>putting artificial limits on language expressiveness
>not sjw
It's pure SJW
A good, manly language should allow you to do anything without restrictions, handholding and without forcing a particular paradigm

Syntax is very very similar, but it has static typing (implicit types and type unions are very nice) and is A LOT faster then Ruby, being compiled.

So a manly language is dynamic? I'd have imagined a manly language as having a very strict type system.

if I can't install it on windows, it's not gonna be relevant

Just go to somalia and program in assembly.

They are currently working on it and have already got it partially working, it'll be very soon. Meanwhile you can use a VM, Cygwin or Bash on Windows.

None of your questions make sense.

>They are currently working on it and have already got it partially working
ok cool, wake me up when it's done and there's enough resources/decent documentation/videos

You can compile to a binary or ASM if that's what you're asking.

Java hasn't anything to do with this. (However it is faster and just as capable as Java)

Ok, how do I contact you?

If you know Ruby you can gloss over the docs and you'll know enough to start programming in this language.

Windows support is coming very soon.

>Ok, how do I contact you?
just make sure to make threads about Crystal

>Windows support is coming very soon.
nice

>If you know Ruby you can gloss over the docs and you'll know enough to start programming in this language.
I don't, I only know a tiny bit of Python

>I don't, I only know a tiny bit of Python
That knowledge is probably very transferable to Ruby, and there are many learning resources on Ruby, so really learning Crystal with Ruby should be a breeze.

>arch sticker
It's shit.
>it's ruby inspired cancer with a hidden agenda
I stand corrected, it's FUCKING shit.

I don't get why these stupid fucks constantly feel like reinventing the wheel though, is there something wrong with the languages we already have?

> Crystal’s syntax is heavily inspired by Ruby’s
Dropped.

...

With Nim programming language, I managed to write a filesystem and kill my wife!

You didn't answer my question, candy-ass.

>hidden agenda
Explain

>garbage collection.
what is that? brainlet non-programmer here

With the Nim programming language, I was able to obtain a job with a salary of 125k to purchase a diamond encrusted rope to neck myself with :)

so fucking what?

Any kind of useful program needs to allocate blocks of memory so that it can store stuff in RAM to process. During the lifetime of the program, blocks of memory may be dynamically allocated and used, then no longer needed once processing is complete. Garbage collection is a process that runs during your program to identify blocks that are no longer being referenced and returns them to the OS

Here's an example (in PHP, but the same concept applies):

neat, thanks user

Use Dlang! Dlang best language!

Ruby's syntax is great. What is there not to like?

You can actually manage memory and use pointers yourself in Crystal:
crystal-lang.org/api/master/Pointer.html#malloc(size:Int,value:T)-class-method

It's not Python

/thread

>fell for the thinkpad meme
>fell for the arch meme
>now trying to spread meme language
WEW

Fast as C. Can't you read?

Crystal is such a /comfy/ language. Shame it's barely used.

I'm thinking about doing some personal projects in it though, simply because it's so fun to write in. I really do wish it would take off though.

>He thinks python's syntax is better

It's a joke compared to Nim.