Better HN
topnewbestaskshowjobs
Log inSign up

kddeisz

364 karma · joined Mar 8, 2016 (10y ago) · 41 submissions

Submissions

comment 2y ago · link · parent

Are there truly people out there that are terminating HTTP/2 at the application level? That's really quite surprising for anything serving production traffic.

comment 3y ago · link · parent

rubocop uses rubocop-ast uses parser, so it will eventually make its way down to rubocop once we finish the compat layer for the parser gem.

comment 3y ago · link · parent

Depends on what you mean by Solargraph, because it's kind of a large project. If you mean their typechecking, then definitely not, because it's not using a Ruby parser. If you mean the general feedback, then yeah potentially.

Rubocop yes if it ends up using YARP as a new backend.

Either way, I would suggest you check out ruby-lsp, which is definitely going to benefit from this speed, and soon.

comment 3y ago · link · parent

Maybe I'm a masochist, but to be honest it's a dream job. Working on such a complex language and history is really really fun.

comment 3y ago · link · parent

The templating is definitely an effort to keep the maintainability in check. It's also because we're planning on keeping a grammar around to generate test cases for us with fuzzing/other algorithms.

The encodings is a bit historical, to my knowledge Ruby is the only major language that was developed by someone whose language did not work with ASCII. So the first encodings written in Ruby were the old Windows pages.

6.

Rewriting the Ruby parser(railsatscale.com ↗)

520 points · by kddeisz · 3y ago · 175 comments

comment 5y ago · link · parent

Is that semantic difference documented anywhere? I’ve never heard of this before, would love to learn more.

comment 6y ago · link · parent

Definitely check out prettier for Ruby then! https://github.com/prettier/plugin-ruby. Actively working toward 1.0.
12