Helix: Rust and Ruby, Without the Glue
blog.skylight.io
Helix: Rust and Ruby, Without the Glue
1–10 of 69 posts
Re: Helix: Rust and Ruby, Without the Glue
#2Re: Helix: Rust and Ruby, Without the Glue
#3Re: Helix: Rust and Ruby, Without the Glue
#4And isn't there some common C lib that exposes Unicode functions like is_whitespace? Granted, using a cargo crate is easier than finding and adding a .h, and far easier than getting and linking another lib.
Re: Helix: Rust and Ruby, Without the Glue
#5I would be interested to see how Ruby's Set class performs in the Zesty example. If that is actually a bottleneck in the application, I would rather reach for something that is in the Standard Library instead of going fully native.
Conceptually, a Set will do much better even with this sort of optimization.
Re: Helix: Rust and Ruby, Without the Glue
#6I think this could help Ruby regain some of its early excitement, and remove the negativity of its 'just a scripting language', 'only for rails, which is too slow for modern development anyway' image.
Re: Helix: Rust and Ruby, Without the Glue
#7-- misread and thought, this was smth in style of "Programming by Poking" initially (https://news.ycombinator.com/item?id=11628080)
Re: Helix: Rust and Ruby, Without the Glue
#8But the Rust version of the blank check doesn't handle any encoding but UTF-8. Helix could wrap up a char iterator for it I suppose, one that calls rb_enc_codepoint_len? And isn't there some common C lib that exposes Unicode functions like is_whitespace? Granted, using a cargo crate is easier than finding and adding a .h, and far easier than getting and linking another lib.
Re: Helix: Rust and Ruby, Without the Glue
#9I like Swift. Rust syntax make me headache.