DEV Community

Discussion on: Introducing the SolidJS UI Library

 
devinrhode2 profile image
Devin Rhode

Dart even avoids any locks during garbage collection, which is amazing. As cool as concurrent mode is, Dart might make concurrent mode/suspense/etc a minor 1% improvement once the performance improvements from Dart are accounted for. Who knows. Just a fanboy.

Thread Thread
 
ryansolid profile image
Ryan Carniato

To be fair I don't really consider CM a thing for raw performance. Unless you are maxing your CPU cycles scheduling is going to be slower for the raw performance. I think of it more of having a distributed way to model possible futures, without trying to coordinate everything directly in the parent.

 
ryansolid profile image
Ryan Carniato

I honestly haven't had much of an opportunity/reason to look at Dart. TypeScript admittedly was mostly just a pragmatic choice since it seemed like a reasonable thing to do as a library author. It wasn't because of any personal like of TypeScript.

To be fair while the reactivity is a big part of what I do with Solid, my focus on the web came from knowing I could make a tangible difference there. Even SSR wasn't a place I was expecting have such success. I'm not sure how Solid would fit into Dart/Flutter ecosystem as it feels like they already have a good thing going.

Thread Thread
 
devinrhode2 profile image
Devin Rhode

I have fanboy'd over dart/flutter, google's presentations on dart/flutter show some amazing tech, but I think Dart is really the star of the show. I look at Flutter code and it's all the horrors of angular all over again.

What I really want is actually-native level performance (AOT compiled dart), great dev experience (dart dev compiler, ddc), BUT in a react/component/jsx paradigm.

Thread Thread
 
trusktr profile image
Joe Pea

Solid gives you that for sure. Also @lume/element gives you one more level higher: custom elements with templating powered by Solid.

I'm also planning to implement JSX for AssemblyScript unless someone else gets to it first, and the compile the implementations of my custom elements to WebAssembly.

The big milestone will be when we can also compile to native (run outside of the browser too, but with a web-first API that is easy for existing web developers).