HackerTrans
TopNewTrendsCommentsPastAskShowJobs

norbert515

no profile record

Submissions

Show HN: Nocterm – Flutter-inspired TUI framework with hot reload (Dart)

nocterm.dev
5 points·by norbert515·5 tháng trước·7 comments

comments

norbert515
·5 tháng trước·discuss
While building has becomes way cheaper (and probably is going to become even cheaper in the future), is building something exceptional really that much cheaper now?

AI has certainly made it so much simpler to just pump "something" out (slop), but did it actually make building something that went through hundreds and thousands of iterations significantly cheaper?

I also like to think AI is really raising the bar for everybody. In the past, you could easily get away launching a product with a crappy landing page and a couple of bugs here and there, is that still the case? Don't people just expect a perfect landing page at this point (when's the last time anybody specifically talked/ thought about responsiveness?) paired with a flawless onboarding etc.?
norbert515
·5 tháng trước·discuss
Compiling to WASM is a huge reduction in size (as we don't need to ship a runtime etc. ourselfes anymore), but that requires some browser runtime. Dart specifically doesn't support standalone WASM (outside of the JS/browser context) yet.

I was able to get a WASM binary as small as ~234 KiB!
norbert515
·5 tháng trước·discuss
I haven't actually tried WASM yet. The demo on the landing page is using Dart transpiled to JS (embedded in xterm.js). But Dart does also support compiling to WASM directly, I'll give it a try tomorrow and let you know about the stats!
norbert515
·5 tháng trước·discuss
Thanks!

Binaries in Dart are definitely larger than 200kb, I just AOT compiled one of the examples and it was ~7.4MB (arm64 MacOS). Dart has a few different targets it can compile to, but it generally requires a couple of MBs, as it packages the whole runtime.

Yeah, my goal definitely is to have to as close to Flutter where it makes sense. You should mostly be able to copy it over 1:1, with a couple of caveats (GUI and a TUI app have a few differences here and there).
norbert515
·5 tháng trước·discuss
Yeah, I fully agree. UI has become a pretty obvious example for declerative programming, but it probably makes sense for so many other domains as well!
norbert515
·7 tháng trước·discuss
That's awesome! Love that you can use it out of the box without annoying singups/keys :)