Hacker News new | past | comments | ask | show | jobs | submit login
Vue 3.3.6 Faster Thanks to WeakMaps (tomaszs2.medium.com)
38 points by tomaszs on Oct 22, 2023 | hide | past | favorite | 4 comments



Vue is my 2nd favorite frontend tool, right behind Phoenix liveview, and it looks to be getting better all the time


Does elixir have an lsp as good as Typescripts? I’m a bit addicted to static types at the moment. Also, Vue is awesome but Svelte is better. One of my dreams is for Rich and Evan to join forces on the ultimate hybrid framework.


No. Not even close. But it's getting better.

There are currently two worth mentioning:

ElixirLSP: https://github.com/elixir-lsp/elixir-ls

Elixir tools: https://www.elixir-tools.dev/

ElixirLSP is the older project, and has been around for a while. It does a lot, but has had sporadic issues over the years. Things like the debugger are a dog to get working, and the server itself will occasionally run into issues where it just doesn't want to work. It's always sort of focused on a subset of language server features, so don't expect much in the way of inline corrections. But it's got the essentials, formatting, basic linting, type hinting, on demand documentation, and primitive reference navigation

Elixir tools is a new up and comer, written by Mitchell Hanberg. It's aiming to be a more complete lsp, and has plugins in its "ecosystem" for most editors. Features have been arriving rapidly, starting with things like inline corrections and far more reliable linting, and recently growing autocomplete. One of the main selling points is the elixir-tools backend is a self contained binary, so it can mostly work independent of system Elixir/Erlang version, which was a frequent tripping point for ElixirLSP

Personally I use both at the same time, but plan to move to tools only when it's got all the features I need


> Does elixir have an lsp as good as Typescripts? I’m a bit addicted to static types at the moment.

I wonder how IHP [1], the liveview in Haskell, compares with Phoenix liveview for typical use cases now. (Not having used either.)

[1]: https://ihp.digitallyinduced.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: