News for hackers. Stuff that matters.

doctor_stopsign

Re:Small Assets without the Headache in Elm 0.19 on Tuesday August 21, 2018 @09:26AM (#17809306)
Congrats on the release! I have very high hopes for Elm in the future, and I think it truly shifts the paradigm of frontend development.

On an attempt to use Elm in production I ended up switching back to Javascript. The biggest issue I faced was lack of type-classes, which made certain parts of the code feel like I was pulling teeth to get Elm's type system to be happy. Perhaps this is more of an issue of expecting Elm to be more like Haskell than it is.

I hope Elm is able to get more adoption, and with it more examples of idiomatic approaches to problems in Elm's style. However this somewhat feels like a chicken-and-egg problem.

Regardless, this release looks great for people using it in production already!

Re:Announcing Rust 1.28 on Thursday August 02, 2018 @12:01PM (#17672509)
I have to say, the Rust compiler's commitment to nice error messages makes it a pleasure to work with. It is also cool to hear about the GlobalAllocator trait stabilization. I'll have to check out what the embedded-Rust space has been doing in this area!
I was able to make a hacky fix for that. If you get the `svd2rust` source code and modify `generate.rs` on line 756 you can get it to generate a library file and not panic.

There are still a ton of warnings that pop up, and I haven't yet tested it on an MCU but in theory it should work.