Better HN
topnewbestaskshowjobs
Log inSign up

dragostis

409 karma · joined Dec 11, 2014 (11y ago) · 39 submissions

Submissions

1.

Show HN: Chili. Rust port of Spice, a low-overhead parallelization library(github.com ↗)

233 points · by dragostis · 2y ago · 42 comments

2.

Analytic flattening of quadratic Bézier offsets(dragostis.github.io ↗)

2 points · by dragostis · 3y ago · discuss

comment 3y ago · link · parent

It's quite easy to get the CPU back-end running with WASM. GPU might work as well with Chrome Canary, but I haven't tested it yet. Using WebGPU should make this just as easy.

comment 3y ago · link · parent

A pixel segment is a line segment that fits inside of a pixel's square box. It can start and end anywhere inside of this 1x1 square box and it has a 64bit compact representation.

comment 3y ago · link · parent

Thank you for the endorsement. Looking forward to collaborating more with you on 2D graphics.

comment 3y ago · link · parent

forma is geared towards vector-graphics heavy use cases. A very good example would be Lottie or Rive animations or games that make use of vector graphics. Another possible use case would be places where you need a very small software renderer, like an OS's early boot.

7.

Show HN: Forma – An efficient vector-graphics renderer(github.com ↗)

291 points · by dragostis · 3y ago · 58 comments

8.

Rusty pest parser 2.0 with wasm grammar fiddle(pest.rs ↗)

4 points · by dragostis · 8y ago · discuss

9.

Google I/O 2017(events.google.com ↗)

1 points · by dragostis · 8y ago · 1 comment

10.

Redox OS Crash Challenge(github.com ↗)

179 points · by dragostis · 8y ago · 80 comments

11.

Pest – The Elegant Parser v1.0(github.com ↗)

1 points · by dragostis · 8y ago · discuss

12.

Chucklefish is writing their next game in Rust(reddit.com ↗)

16 points · by dragostis · 9y ago · discuss

13.

Machine Learning for the culture – An example of why ML needs more diversity(twitter.com ↗)

3 points · by dragostis · 9y ago · discuss

comment 9y ago · link · parent

I've added a clarification. The point of the benchmark is not to compete with other projects, it's merely there to put the parsing speed (and not necessarily the processing that comes after it) in a representative window of performance.

comment 9y ago · link · parent

I agree with your point. I tried my best not to sway too far off of some of syntax I've seen in other PEG projects, while also keeping it compatible with Rust's standard macros. While pest does have this constraint any longer with the new beta, changing the grammar too much would have been a nuisance for anyone who had grammars written in the older versions.

comment 9y ago · link · parent

I agree. I guess I was trying hard to suggest the fact that it can be used _with_ Rust and not the fact that it is written _in_ Rust.

comment 9y ago · link · parent

A good place to start would be in the manually written example. [1] My current plan is to try and limit the the use of memoization such that it still guarantees linear parsing, but it doesn't memoize unless necessary.

[1]: https://github.com/pest-parser/pest/blob/master/pest/example...

comment 9y ago · link · parent

For now, it produces a recursive descent parser. Packrat parsing is an open-question since I'm afraid that adding a memoization layer all throughout the parser will lead to a consistent general slowdown.

19.

Show HN: Pest – Fast parser generator written in Rust(github.com ↗)

108 points · by dragostis · 9y ago · 27 comments

20.

Show HN: Pest. A ridiculously fast, modern parser for Rust(github.com ↗)

2 points · by dragostis · 9y ago · discuss

21.

Show HN: Pest. A fast, modern parser for Rust(github.com ↗)

2 points · by dragostis · 9y ago · discuss

22.

Show HN: Pest. A fast, modern parser for Rust(github.com ↗)

8 points · by dragostis · 9y ago · discuss

23.

Show HN: Pest. A fast, modern parser for Rust(github.com ↗)

1 points · by dragostis · 9y ago · discuss

24.

Show HN: Pest. A modern Rust parser(github.com ↗)

3 points · by dragostis · 9y ago · discuss

25.

Show HN: Pest. A fast, modern parser for Rust(github.com ↗)

5 points · by dragostis · 9y ago · discuss

26.

Remainians adopted(romaniansadoptremainians.gandul.info ↗)

4 points · by dragostis · 10y ago · discuss

comment 10y ago · link · parent

There is a WIP php parser developed by the community: https://github.com/steffengy/pesty-php/blob/master/src/parse...

And, yes, it does support multi-stage parsing. After the tokens are generated, there is a process! macro which handles them. This is where you can produce an AST.

comment 10y ago · link · parent

I'm currently working on a parser generator with easy of use and performance in mind.

https://github.com/dragostis/pest

29.

Pest v0.2.0: fast PEG parser generator in Rust(github.com ↗)

1 points · by dragostis · 10y ago · discuss

12