HN user

zareith

39 karma

Fantasy/scifi author

https://paulgzareith.ink

Posts0
Comments22
View on HN
No posts found.
From Rust to Ruby 2 months ago

Marten and Lucky come close.

My use cases are fairly minimal though, and the adjacent ecosystem is not as well developed. You likely won't be able to get an out of the box integrated gems for shopping cart, blogging platform, newsletter, analytics etc. as you might for rails. If you are building something new from basic blocks, a lot of the foundational blocks seem to be good state. But again, my experience is very limited.

From Rust to Ruby 2 months ago

Curious if there are folks (perhaps from ruby community) using crystal for medium/large projects. How has your experience been?

I recently tried it out in a hobby project and was pleasantly surprised at how smooth the overall DX was, and how little memory it consumed.

I like the nim language, but the lack of interfaces has been a bit of a turn-off for me.

Do nim programmers not see the need for abstracting out behavior in a manner that different implementations can be switched somewhere else, or is there different idiomatic way to handle this?

We can use json type, but the dx around directly using that is not comparable to mongodb. Which is why I was looking for a similar abstraction.

This looks cool, love the API.

I don't any support for lifecycle hooks (eg. something like onMount when the returned node will be attached to the document) in the component api. In absense of those, I imagine integrating with vanillajs libraries will be difficult (eg. codemirror, slickgrid etc.) Curious what your thoughts in the matter are.

I think an underappreciated library in this space is Logux [1]

It requires deeper (and more) integration work compared to solutions that sync your state for you, but is a lot more flexible wrt. the backend technology choices.

At its core, it is an action synchronizer. You manage both your local state and remote state through redux-style actions, and the library takes care of syncing and resequencing them (if needed) so that all clients converge at the same state.

[1] https://logux.org/

Zettlr is quite nice. The UI has a few quirks and sometimes does not follow conventions set by other applications, but the wysiwyg interface for markdown offers a great editing experience. And because it is all just markdown files in local disk there is no vendor lockin.

I am not the primary intended audience, but I wrote my last sci-fi novel (The Grandmaster's Gamble) entirely using Zettlr and pandoc. The built-in languagetool integration was a big help.