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

> It’s also THE language you use when writing UIs

I'm unsure that I agree with this, for my smaller tools with a UI I have been using rust for business logic code and then platform native languages, mostly swift/C#.

I feel like with a modern agentic workflow it is actually trivial to generate UIs that just call into an agnostic layer, and keeping time small and composable has been crucial for this.

That way I get platform native integration where possible and actual on the metal performance.


I'm not entirely sure that this is true.

I haven't actually looked into this but it might not be the realm of possibility. But you are generating a frame on GPU, if you can also encode it there, either with nvenc or vulkan doesn't matter. Then DMA the to the nic while just using the CPU to process the packet headers, assuming that cannot also be handled in the GPU/nic


You can also often DMA video coming in through peripherals to get it straight into the GPU, skipping the CPU.

Good strong (read specific) types encourage easier redactors.

Changing the function signature or the type then generated cascade of compiler errors that tells you exactly what you touched.

Weak non specific types does not have that property and even with tests you cannot be sure about the change and cannot even be sure you are upholding invariants


There is a difference between us all experiencing a shared artistic experience and us hearing about your kids while we are trying very hard to share an artistic experience.

I wouldn't complain much about people singing along to a ballad or such but yapping, you can go do that somewhere else.


I'm so split on this. Ultimately I think I land on: "if there's chairs, engage in the shared sensory experience. If it's GA standing room only, it's a party and do whatever."

I don't think fear or legal action makes it illegal.

If I know it is legal to make a turn at a red light. And I know a court will uphold that I was in the right but a police officer will fine me regardless and I would need to go to actually pursue some legal remedy I'm unlikely to do it regardless of whether it is legal because it is expensive, if not in money but time.

In the case of copyright lawsuits they are notoriously expensive and long so even if a court would eventually deem it fine, why take the chance.


That's my point. It's dangerous and there are sharks in the water. That sounds like you're not going to have a good time if you do the described approach to someone who might assert you're infringing.


Of all the self help books I have actually read, The 7 Habits is probably the one that had consistently been useful in actually navigating issues day to day.

And I read it probably closer to two decades ago.


Let me ensure I understand you.

Running a node.js server on Tahoe makes your macbook sluggish and you feel like Tahoe is fine performance wise?

May I reminded you that 10 years ago people also ran chrome and node js webservers and this was not a problem in any way with 8GB of ram.


That's very interesting to hear. I didn't know that.


I developed Node.js applications 10 years ago on a 2009 MacBook Pro with 5GB of RAM, and it was only a little tight on memory. 8GB _should_ be enough for moderate complexity development, but everything has become more and more memory-hungry with time.


Just not having a Celeron level chip is worth the difference...

Windows update on a Celeron chip makes it 100% utilisation with full boost.

I would actually rather but an Android phone than a laptop with a Celeron chip for the same price.


Thankfully you don't have that problem with ChromeOS.


From my knowledge RCU/epoch/Hazard pointers are useful in data structures and algorithms where raw atomics cannot be used but you still nees lock free or in some cases wait free semantics.

If you can use an atomic then these are overkill and you should just be using an atomic, but many times things that are atomic does not make it lock free, if there's no hardware support the compiler will add a mutex.


1. Use thinking/pri 2. Ask it something that gets a streamed response 3. Hit refresh

A surprising amount of time the chat will bork itself by just alt tabbing but refreshing is a sure solution


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

Search: