News for hackers. Stuff that matters.
Re:How to Sell Elixir Again (2023) by h0l0cube on Monday May 15, 2023 @03:52AM (#35944988)
> Going from a pure string of SQL or JSON to a concrete type without actually executing any runtime code is pretty crazy.

Elixir/Erlang might already be able to do something like this with metaprogramming. It’s certainly possible to generate and run Elixir at compile time, and map types are already a good superset for JSON objects, so a compile time JSON to map could then provide an inferrable type. I think someone more savvy with Elixir would know more. I’d certainly not something that I’ve needed.

There are no comments on this comment yet.