Hacker Newsnew | past | comments | ask | show | jobs | submit | basro's commentslogin

They differ in a similar way to how React differs from SolidJS.

In react when state changes the component functions that depended on that state are rerun to compute what the component should now look like. Then react diffs the new output with the previous to touch only the parts that changed in the DOM.

In solidjs the component function runs only once (when the component is instantiated), when state changes signals will trigger and cause the specific parts of the DOM that depended on them to change. This is generally more efficient.


Hey, I'm curious about the web component framework and css framework you mentioned. I was unable to find info about it, could you link me?


THeres not much on the site yet, as he's still baking it. https://data-star.dev/reference/datastar_pro#stellar-css

But theres rocket and stellar channels in their discord where there's sneak peeks. VERY cool stuff https://discord.gg/bnRNgZjgPh


Too bad it will only be available as a Pro feature. I’m not against supporting hard work by any means but framing it as an alternative to free options set me up for a bit of disappointment. But I agree with everything else you said that this seems very impressive.


Sorry, I had no intention to frame it as being free. Fair point though.

Do check it all out though - it's a breath of fresh air.


No worries. I really dig all of this and think D* is a great product. Looking forward to seeing what else comes out.


What would be the other lightweight statically typed scripting languages? There really aren't many.


I've used AngelScript in the past for some hobby projects, and had a lot of fun with it.

https://www.angelcode.com/angelscript/


I think I agree that it's akin to organized crime, it's a case of "the goal justifies the means".

You see the goal of forcing union usage as a noble thing so you agree with these means. If the goal was one that you don't see as noble you'd definitely agree that it's very organized crime like.


So I would agree that it is criminal if I didn’t like it. That doesn’t tell me anything.

> If the goal was one that you don't see as noble you'd definitely agree that it's very organized crime like.

Categorizing things as being criminal because you don’t like them is a juvenile sort of thinking.


No, performance and power consumption should go hand in hand in this case. If you are strongly IO bound, paying for the synchronization is not really going to matter much I believe.

There are cases where you can be CPU bound and using the share nothing model would work out to your advantage. There's also the case where you only have one cpu core anyway (for example if you want to get all the juice out of a cheap single core VPS)


This is true but the rest of the ecosystem is not built for it.

If you try to use axum in this way you'd still need to use send and sync all over the place.


Instead of Arc and Mutex you'd be using Rc and RefCell. Wouldn't it be just as complex and verbose code-wise?

I understand that it is less efficient but in the case you describe wouldn't paying for a few extra atomics be negligible anyway?


I've found that practically I'm more likely to simply use Box, Vec, and just regular data on the stack rather than Rc and RefCell when I esque Arc and Mutex by using a single context. The data modeling is different enough that you generally don't have to share multiple references to the same data in the first place. That's where the real efficiencies come to play.


So, how do you suggest a company would make profit while also not limiting to people who can afford paying for the product?

If you are thinking of the free to play model with microtransactions, I do not think that it would work as well for single player games.


I don’t know.

What I do know is that illegal consumption of games leads to increased legal consumption though

https://arstechnica.com/gaming/2017/09/eu-study-finds-piracy...


That sounds like an improvement


Realise that this means more recruiters and it being a hugely valuable service all of a sudden, whereas today it is maybe neutral on the average (helpful for some, annoying for most). Since random strangers on the internet couldn't be trusted in this possible scenario, recruiting firms could be the ones to build up reputations of having suitable/legitimate candidates. You might not realistically be able to get around them.

More middle (wo)men does not sound like an improvement. But to be fair, I don't really know what the deal is with cover letters. When applying to a job, I always write some text in the email that explains why I can do that job and why I'm interested at all, it's not like I just drop my CV on an email address and trust the recipient to take it from there. The application process may be different in NL/DE versus whereever OP lives, or for my line of work compared to theirs.


Didn't he address this? He has both the ability to report/block users and also the ability to report content (comments) in his app.


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

Search: