HNHacker News
TopNewBestAskShowJobs

sdogruyol

1,010 karma · joined December 28, 2012

Rubyist, Crystal Core Member, Author of Kemal Web Framework

https://github.com/sdogruyol

submissionscomments
sdogruyol··on How to build video games for Windows using Crystal
This is a great article. However I'm curious how much work is actually needed to get a seamless / native Crystal experience on Windows?
sdogruyol··on Kemal 0.20.0 released
Kemal(https://github.com/kemalcr/kemal) is a Fast, Simple, Effective web framework written in Crystal(https://crystal-lang.org/).
sdogruyol··on Crystal language 0.23.0 released
Crystal home page: https://crystal-lang.org
sdogruyol··on Crystal language 0.23.0 released
This blog post from core developers will give you a better idea about the current state of Crystal https://crystal-lang.org/2016/12/29/crystal-new-year-resolut...
sdogruyol··on Building a Command-Line Application with Crystal
BTW the Crystal website has just been redesigned :) https://crystal-lang.org/
sdogruyol··on Changes I would make to Go
Crystal would be a great choice for the author.
sdogruyol··on The Crystal Programming Language
You can take a look at Crystal for Rubyists (http://www.crystalforrubyists.com/book/chapter-08.html) for more info on Channels and Fibers.
sdogruyol··on The Crystal Programming Language
There are some interesting projects for these

CPU Raytracer https://github.com/l3kn/raytracer

CRSFML multimedia/game library https://github.com/BlaXpirit/crsfml

sdogruyol··on The Crystal Programming Language
I've been using and contributing to Crystal since 2015 and i can easily say that it's really great potential. It's simple, fast and productive from day 1.

I wrote a web framework (http://kemalcr.com/) and it's in production without any problem for more than 1 year on a big scale app. You can check my slides for some interesting graphs (http://www.slideshare.net/sdogruyol/kemal-rubyconfbrasil-201...)

Also be sure to check out http://crystalshards.xyz/ to discover Crystal projects(shards).

sdogruyol··on Crystal: Fast as C, Slick as Ruby
For anyone interested in building web applications with Crystal i recently gave a talk about Kemal at PolyConf https://www.youtube.com/watch?v=KJB-nAoRSr8
sdogruyol··on Crystal: Fast as C, Slick as Ruby
Actually it's been stable for the last 6 months. No more expected major syntax e.g changes upwards. (apart from parallelism and gc which will be at compiler)
sdogruyol··on Crystal: Fast as C, Slick as Ruby
1. It hasn't been a problem for us. 2. We put Nginx in front of Kemal and it's working like a charm :) 3. Well we haven't tried but it's pretty simple with sidekiq.cr https://github.com/mperham/sidekiq.cr
sdogruyol··on Crystal: Fast as C, Slick as Ruby
These are really nice questions / concerns.

- Firstly, we are a Ruby shop and most of the time the errors are pretty self descriptive that we can easily solve. Also the IRC/Gitter room is full of helpful people that you can get instant feedback about any issue (even a compiler bug). Note that we're not afraid of writing code :)

- I've updated our application once in the last 6 months. It's only a minor change for adding type annotations which took like 10 minutes.

- Actually i think that Crystal is already in beta quality (for us). Calling it Alpha is really an understatement.

sdogruyol··on Crystal: Fast as C, Slick as Ruby
I'm the author of Kemal(kemalcr.com), a simple, fast and modern web framework for Crystal.

We've been using Crystal in production(at Protel) for more than 6 months for some heavy load APIs (100-200 req/s). We've replaced our Rails API with 64 unicorns to just 1 Kemal process and it's not even breaking any sweat while consuming nearly 100x less resource and 30x less CPU.

You can ask me about our experience.

sdogruyol··on Kemal: Fast, simple web framework for Crystal
For those who want to learn Crystal there's Crystal for Rubyists http://www.crystalforrubyists.com/ which is totally free with PDF, EPUB and MOBI downloads.

P.S: It's not just for Rubyists.

sdogruyol··on Kemal: Fast, simple web framework for Crystal
It's not correct to say that it's better than X. But you can be sure that Crystal is pretty good :)
sdogruyol··on Kemal: Fast, simple web framework for Crystal
Author here,

You can check this for a realtime web application with Kemal + React using WebSockets https://github.com/f/kemal-react-chat

sdogruyol··on The Rails Doctrine
If you like Sinatra and want to use something that's both fast and as simple as Sinatra you can try Kemal.(http://kemalcr.com/) A side note that it's written in Crystal(http://crystal-lang.org/) which is like Ruby.
sdogruyol··on Show HN: Equiv: Inter-Languages Equivalent Package Finder
Wow, this is pretty cool.

It'll be a really useful tool for exploring new languages once it has enough data.

sdogruyol··on Show HN: Kemal – Lightning Fast, Super Simple Crystal Web Framework
Author here,

You can think Kemal as something like Express / Flask / Sinatra. And no it's not responding with static content (e.g HTML or so). It's has dynamic views via ECR (http://kemalcr.com/docs/views.html) and it also gets compiled which makes it super fast.

sdogruyol··on The future of the Crystal language
It's probably faster.
sdogruyol··on The future of the Crystal language
You can use #crystallang
sdogruyol··on The future of the Crystal language
If you're a web dev and want to build an API be sure to check out Kemal: http://serdardogruyol.com/kemal/
sdogruyol··on Ruby 2.3.0 Released
You should take a look at Crystal!
sdogruyol··on Why Crystal?
Most of the times 'Yes'
sdogruyol··on The goal of Ruby 3x3 is to make Ruby 3 be 3 times faster than Ruby 2
It uses LLVM to be fast
sdogruyol··on Kemal: Fast, Simple Web Framework for Crystal
Kemal started as a fork of Frank later turned into an organization of its own. The differences of Kemal are being maintained and more complete (not just for PoC).

P.S: It's still under heavy development.

sdogruyol··on Ask HN: What are you currently learning in your spare time?
Learning Crystal and making useful stuff with it. E.g a Sinatra like web framework with 10x performance https://github.com/kemalcr/kemal
sdogruyol··on Warming up to Go
Well that's the starting point. Currently more ideas are forming up and being baked into the language.

For example Crystal is removing explicit Threads and switching to Channels as the main concurrency model.

sdogruyol··on Warming up to Go
Yeah,especially Crystal is gaining traction and lots of good commits are coming in.
← PreviousPage 2 of 4Next →