HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jasone

no profile record

Submissions

The APLR(1) Algorithm Is Simpler and More Capable Than IELR(1)

branchtaken.com
8 points·by jasone·29 ngày trước·1 comments

Jemalloc Postmortem

jasone.github.io
801 points·by jasone·năm ngoái·233 comments

comments

jasone
·11 ngày trước·discuss
As for most book-based movies, the book is IMO better.
jasone
·29 ngày trước·discuss
APLR(1) generates ~minimal parsers with the full power of canonical LR(1). Suitable for use with GLR, fast enough generation to be default algorithm. LALR(1) is obsolete.
jasone
·8 tháng trước·discuss
The C47/R47 appears to use the 4-level XYZT stack design by default, but it has an option to use an 8-level stack (XYZTABCD). I really like the unlimited stack option that can be enabled in Free42, but 8 levels might be enough to keep from feeling cramped in practice.
jasone
·11 tháng trước·discuss
The former merely exposes a `BlogPostRepository` class. The latter requires some mechanism for creating a generic object of concrete type, which is a lot bigger change to the implementation. Does each parametrized generic type have its own implementation? Or does each object have sufficient RTTI to dynamically dispatch? And what are the implications for module API data structures? Etc. In other words, this limitation avoids tremendously disruptive implementation impacts. Not pretty, but we're talking PHP here anyway. ;-)
jasone
·6 năm trước·discuss
This is the third time I've watched this video (admittedly with a bit of distraction today). After the first time I went off and learned about modular implicits, which appear to be a huge ergonomic improvement, especially the way the JaneStreet library APIs are designed. The second and third times I got increasingly sad that so much brain power is being sucked up by algebraic effects, to the detriment of other advancements. Oh well, that's their decision to make; JaneStreet continues to do huge service to OCaml in myriad ways, and I really value these tech talk videos as part of that.