Better HN
topnewbestaskshowjobs
Log inSign up

Existenceblinks

1,102 karma · joined Jun 12, 2015 (11y ago) · 1,205 submissions

Submissions

comment 3y ago · link · parent

Ask HN: here is my idea, can I build this in a weekend

AI: of course .. here is your bash script (220 lines long)

comment 3y ago · link · parent

On their github repo:

> Simple "hello world" at about 65kb, comparable to React

I assume that is minified and compressed. That's quite bloat. I wonder if they try https://github.com/johnthagen/min-sized-rust ?

Also I feel like the BytecodeAlliance too much focus on their cloud runtime use case while seamless wasm + dom interop is where its adoption will skyrocking. I would rather write Rust/Go/Roc/any-sane-typing instead of TS.

comment 3y ago · link · parent

Is there any popular commercial apps based on these? Most of projects I have seen using these tech are developers' side projects.

comment 3y ago · link · parent

It's quite a paradox value. If CTOs or tech leads are competent enough they wouldn't bring this React mess into business in the first place. But if the CTO is incompetent, he won't think he has a need for getting rid of React. So the business of getting of React only has value to companies who want to admit "we made a mistake".

comment 3y ago · link · parent

It's tough for engineers when React already loses in any technical challenge. If a business were selling cheap product, that would justify poor materials. But if your business is high-end, why don't use the best materials?

66.

Ask HN: Is there any consultancy that helps get rid of React?

8 points · by Existenceblinks · 3y ago · 11 comments

comment 3y ago · link · parent

Underrated. It already happened in frontend space. Job market is already rotten by incompetent tech leaders who aren't immune to all the bullshit and bought all the hype from VC-backed bigco.

comment 3y ago · link · parent

Most devs have no idea what lit-html + DOM event + sub 100 lines glue code (mvc) is capable of. No useThis useThat non-sense, just call render() manually, really, it's not a big deal like at all.

comment 3y ago · link · parent

At some point someone will figure out the wire up between the reactive part (thing like "signal") on wasm side and and propagate changes to the effect side to render DOM nodes.

comment 3y ago · link · parent

Yes please, backend people (and compiler folks) be united to try to catch up with the latest wasm proposals, we are pretty close now (also waiting for the 'stringref'). The future is treating DOM stuff as system thingy, so we can stop (except those who want to stay) writing JS/TS on the logic part. I'm optimistic we will have a better mental heath on developing web frontend in near future.

comment 3y ago · link · parent

I avoid the word 'burnout' now. Just expand a bit like 'have a long stress session and it broke mental health to a certain point that needs a fix'

Changing activities and habits is ok but paracetamol. The causes are still there.

comment 3y ago · link · parent

Sorry about that I was saying in kidding tone. We're all good.

Here is the wasm binary size number (2019): https://stackoverflow.com/questions/55135927/how-do-webassem...

I didn't bookmark Zig and other for the number, it's over here and there on HN threads and Github issues.

---

I think you conflated "wasm binary size from AssemblyScript" with AssemblyScript size itself, that's why you brought up React to compare with AssemblyScript. AssemblyScript doesn't compete with React. And comparing React with the others is also tricky because of paradigm difference. React view and logic are very coupled. Compile-to-wasm langs only compete with js/ts part excluding the DOM part .. at least for now because wasm can't even share string ref right now (the "stringref" proposal is currently phase-1 ), let alone DOM access.

Wasm-gc proposal is already in phase-3. I think languages that used to also compile their runtime with app code could be smaller because wasm host manage collect the garbage for you in terms of "struct" and "array" (you can check out https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove...)

comment 3y ago · link · parent

Have they try modeling around reward system? The basis of intelligence of living things are what's required in order to survive. There has to be some ways to punish the models with some kind of death equivalent.

comment 3y ago · link · parent

Smallest compared to any of current capable compile-to-wasm langs. How dare you bring up React, when it's already lose to Solid which is apple-to-apple (js). React is freakin bloat. Numbers of functionality is the problems produced by itself and then solve its own problems.

If you ask me to compare to React for todo app, wasm with gc + interfacing with DOM, is going to blow React out of water in both size and performance (logic wise). DOM-wise, thing like "signal" already won anyway.

I honestly don't understand why you bring up React.

comment 3y ago · link · parent

AssemblyScript produces the smallest binary and then Zig. Rust produces bloat binary by default but can be small by https://github.com/johnthagen/min-sized-rust for hello word type of app. I have no idea if the gc proposal could make those langs produce smaller binary size. That said, .wasm is generally smaller on wire and faster-to-execute on host.

comment 3y ago · link · parent

I think creator's burnout happened due to personal style of working was misaligned with users (developers)' demands. I think there are some points the creator made the right choice such as disallow native code, no more fancy type like typeclass etc. And the bell curve of developers can't stand pure <-> impure interop. They rather like messy types like Typescript where js thingy can float around freely with all insane effects everywhere, plus hackable and ugly structural typing .. unsound. They thought people don't love type like they do but people rather love elegant type! .. it's off-topic now, yeah.

comment 3y ago · link · parent

No "isomorphic" please. Please don't moving forward with js-everything, that's actually moving backward.

comment 3y ago · link · parent

I wonder if the demo sound is generated from text? I think it's good enough, probably would pick more informal or fun profile not to sound so robotic.

comment 3y ago · link · parent

> The brightness difference between background and container should be within 12% for dark interfaces, and 7% for light interfaces

I only find this useful to me.

Some others are ok. Some are I already do. Some are just natural (easy to feel that it's off)

comment 3y ago · link · parent

I already saw a tweet that's the same tone as 'have fun staying poor'. It's like 'have fun be in denial'. I suspect the comment is not that unusual.

comment 3y ago · link · parent

I honestly find animals are generally very smart. Maybe because they are living things, evolved and born to be survived.

comment 3y ago · link · parent

Plus 1) you can't write test for it. 2) have fun debugging natural language (debugging PL is hard enough)

comment 3y ago · link · parent

Blackbird written in Rust is a natural approach. Those who try to sell build the whole thing with a whole thing is unwise (look at you isomorphic javascript)

comment 3y ago · link · parent

I touch grass during 30 minutes before/after sunrise and sunset 5 days a week, but never have thought if it's good enough?

comment 3y ago · link · parent

Envy you seem not getting into tech twitter circle jerk yet. It's soul-crushing JS all the way down. Have you seen Typescript return type debate yet? Gosh I blocked them already.

comment 3y ago · link · parent

I have seen 2-3 of this kind of CTOs in my circle. Basically co-founders of rich CEO friend.

comment 3y ago · link · parent

I'm not surprised at all at this point and even if it's getting worse for reasons like that. Look around job posts today! Many CTOs can be incompetent. I'm an early adopter of X tool and encountered all the gotcha, and then I see these technical leads put X tech on their stack which they will regret later.

comment 3y ago · link · parent

What we have been developing are a lot of solid building blocks. Protocol, infra, frameworks. Not just some kind of heuristic engine.

comment 3y ago · link · parent

I reduce twitter time because of it. Also they are here on HN posts a lot recently so I seem to spent time less to read HN as well.

comment 3y ago · link · parent

Well it has no face, no skin color, no weird looking. At this point, it reduces huge amount of failure risk already. And interview is the most non-sense process, so what does this benchmark mean?
12345
41