Re: [rust-dev] Ragel support for Rust

2012-08-07 Thread Graydon Hoare
On 12-07-29 12:20 PM, Tim Chevalier wrote: Unfortunately there are some pretty severe performance issues at the moment. Ragel supports two state machine styles, table-driven and goto-driven. My backend uses tables, but since Rust doesn't yet support global constant vectors, I need to malloc the

Re: [rust-dev] Ragel support for Rust

2012-07-29 Thread Patrick Walton
On 07/29/2012 11:43 AM, Erick Tryzelaar wrote: Unfortunately there are some pretty severe performance issues at the moment. Ragel supports two state machine styles, table-driven and goto-driven. My backend uses tables, but since Rust doesn't yet support global constant vectors, I need to malloc t

Re: [rust-dev] Ragel support for Rust

2012-07-29 Thread Tim Chevalier
On Sun, Jul 29, 2012 at 11:43 AM, Erick Tryzelaar wrote: > Unfortunately there are some pretty severe performance issues at the moment. > Ragel supports two state machine styles, table-driven and goto-driven. My > backend uses tables, but since Rust doesn't yet support global constant > vectors, I

Re: [rust-dev] Ragel support for Rust

2012-07-29 Thread Patrick Walton
On 07/29/2012 11:43 AM, Erick Tryzelaar wrote: Morning all, I just finished my initial support for a Rust backend for Ragel, which I describe on my blog: Awesome! Unfortunately there are some pretty severe performance issues at the moment. Ragel supports two state machine styles, table-drive

[rust-dev] Ragel support for Rust

2012-07-29 Thread Erick Tryzelaar
Morning all, I just finished my initial support for a Rust backend for Ragel, which I describe on my blog: http://erickt.github.com/blog/2012/07/29/rust-for-ragel/ It could be pretty useful if we can solve the performance issues I mention. Inlined below: I've written a bunch of simple parsers