Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "crystal language"
-
Just landed a new job as a developer for a company called NeuraLegion! They use Crystal on their stack, so guess what language I'll be using! But that's not even the best part. They hired me in part because they are using one of my open source Crystal libraries (a NLP library called Cadmium) and like the way I do things. So I am going to be getting paid to work on my FOSS libraries, whist sitting at home in my undies!
Holy shit I'm excited 😂😁7 -
For a while now I've been working on a personal project called Cadmium which is a NLP library for the Crystal programming language. Over the past several months the star count on GitHub has been rising and I'm happy to say I'm almost to 100 stars!
Just wanted to share my excitement with the community. If you want to check out the project you can find it at https://github.com/watzon/cadmium18 -
Wrote an article today on a language called Crystal and it got published to Hacker Noon! https://hackernoon.com/crystal-ruby...4
-
Dynamically typed languages are barbaric to me.
It's pretty much universally understood that programmers program with types in mind (if you have a method that takes a name, it's a string. You don't want a name that's an integer).
Even it you don't like the verbosity of type annotations, that's fine. It adds maybe seconds of time to type, which is neglible in my opinion, but it's a discussion to be had.
If that's the case, use Crystal. It's statically typed, and no type annotations are required (it looks nearly identical to Ruby).
So many errors are fixed by static typing and compilers. I know a person who migrated most of the Python std library to Haskell and found typing errors in it. *In their standard library*. If the developers of Python can't be trusted to avoid simple typing errors with all their unit tests, how can anyone?
Plus, even if unit testing universally guarded against typing errors, why would you prefer that? It takes far less time to add a type annotation (and even less time to write nothing in Crystal), and you get the benefit of knowing types at compile time.
I've had some super weird type experiences in Ruby. You can mock out the return of the type check to be what you want. I've been unit testing in Ruby before, tried mocking a method on a type, didn't work as I expected. Checked the type, it lines up.
Turns out, nested away in some obscure place was a factory that was generating types and masking them as different types because we figured "since it responds to all the same methods, it's practically the same type right?", but not in the unit test. Took 45 minutes on my time when it could've taken ~0 seconds in a statically typed language.11 -
Is there for the programming language "Crystal" a library called "Meth" ?
I'm affraid to google this. 😳9 -
If anyone has been keeping up with my data warehouse from hell stories, we're reaching the climax. Today I reached my breaking point and wrote a strongly worder email about the situation. I detailed 3 separate cases of violated referential integrity (this warehouse has no constraints) and a field pulling from THE WRONG FLIPPING TABLE. Each instance was detailed with the lying ER diagram, highlighted the violating key pairs, the dangers they posed, and how to fix it. Note that this is a financial document; a financial document with nondeterministic behavior because the previous contractors' laziness. I feel like the flipping harbinger of doom with a cardboard sign saying "the end is near" and keep having to self-validate that if I was to change anything about this code, **financial numbers would change**, names would swap, description codes would change, and because they're edge cases in a giant dataset, they'll be hard to find. My email included SQL queries returning values where integrity is violated 15+ times. There's legacy data just shoved in ignoring all constraints. There are misspellings where a new one was made instead of updating, leaving the pk the same.
Now I'd just put sorting and other algos, but the data is processed by a crystal report. It has no debugger. No analysis tools. 11 subreports. The thing takes an hour to run and 77k queries to the oracle backend. It's one of the most disgusting infrastructures I've ever seen. There's no other solution to this but to either move to a general programming language or get the contractor to fix the data warehouse. I feel like I've gotten nowhere trying to debug this for 2 months. Now that I've reached what's probably the root issue, the office beaucracy is resisting the idea of throwing out the fire hazard and keeping the good parts. The upper management wants to just install sprinklers, and I'm losing it. -
Soo there's this new language in town.
It says it looks like ruby but runs like c.
Any one tried crystal yet?
Is a compiled language but with all the funky features.3 -
What better way to learn a language than creating something with it. So I went ahead and made an API for devRant in crystal.
https://github.com/iostreamer-X/...
And I swear that language has potential. It flawlessly(almost) combines the best of both worlds(interpreted and compiled).
IGN: 7/10 Too new but fresh af1 -
Whoever made the Crystal Reports language, screw you and your silent syntax errors. Sincerely, guy stuck maintaining reports.5
-
Hello everybody,
I am 17 years old, I love to code and I cannot decide which new language I should learn.
What do you think of Rust and Crystal? What would you prefer? What is better?11 -
Has anyone heard of the crystal programming language?I just found out about it today and I think I'm in love 😍2
-
I don't think that it is a trend, but I'm pretty excited with the Crystal programming language. Ruby's cool syntax and a compiled language performance, sounds pretty good to me!
-
What do you think about the Crystal language?
It looks kinda cool, but I'm somewhat worried about the lack of Multithreading and the beta status so far.21 -
!rant
I'm undertaking this huge personal project. For this I would require a serverside language/framework. Till now, I have only used php7 for backend, and although it gets the job done, its not fun to code in and is a pain in the ass. Since I learnt php after Angular, I have written php in a very Angular-MVC style (where I have custom components and templates; I did this because I wanted to see if I can use as little of javascript as possible).
I've heard django is really good, but I've never used it despite knowing python.
Dart is supposed to be really good, but I have no idea how to use it. Plus, can you run this on the server?
I would like to use dart as its syntax and semantics seem to be very nice. Is crystal a viable option?5