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

Well, back in the day you had 4 megs of ram, MS-DOS and other OSes that are simple as they come, and full access to the hardware.

These days if you want to support macOS, Windows, Linux: I say good luck to you, Electron can save you there.

Electron is not crap, but many javascript developers are crap. You can make fast and memory efficient apps in Electron, if you know how to code.

(Note: Slack or Discord developers don't have that skill)


Thank you for this!

Could possibly just hotpatch my existing app, add this to the packed in javascript .asar resource file and not having to make a new build with updated Electron version.


Reminds me of the performance optimization somebody discovered in Super Mario World for SNES, where displaying the player score in was very inefficient, taking about 1/6 of the frametime allocated.

"SMW is incredibly inefficient when it displays the player score in the status bar. In the worst case (playing as Luigi, both players with max score), it can take about a full 1/6 of the entire frame to do so, lowering the threshold for slowdown. Normally, the actual amount of processing time is roughly proportional to the sum of the digits in Mario's score when playing as Mario, and the to the sum of the digits in both players' scores when playing as Luigi. This patch optimizes the way the score is stored and displayed to make it roughly constant, slightly faster than even in the best case without."

https://www.smwcentral.net/?p=section&a=details&id=35746


I remember dropping parallel hashmap into my C++ app after years of using the standard library containers, and being honestly positively surprised my app got significantly faster after that.

So thanks for the developer of this!


You can just search for HDR videos in Youtube.


Metal allows Apple to squeeze that extra performance out of their devices. They have full control over, and can implement whatever they need to deliver Apple Vision Pro for example.

With Vulkan, they would have to wait for a committee to approve required changes, and still they could not probably optimize it to match their GPU an CPU hardware profiles in such an efficient way.

And not least at all, to optimize the developer experience and tools. Apple GPU debugging tools are probably the best tools you get for graphics development debugging, and you get that only on macOS.

IMO Metal is a nicer API than Vulkan. At the same time, you can ask, why should Microsoft get to keep DirectX, and not just write a Vulkan driver ?


>Metal allows Apple to squeeze that extra performance out of their devices. They have full control over, and can implement whatever they need to deliver Apple Vision Pro for example.

That doesn't stop them from implementing both Metal and Vulkan.


Sure, but a lot of extra work for something like that. Also, Apple Walled Garden..


> why should Microsoft get to keep DirectX, and not just write a Vulkan driver ?

They support both. And sometimes the Vulkan driver is faster than their native DirectX one too.


> they would have to wait for a committee to approve required changes

Or just make proprietary extensions?


I love mate. It has probably saved my life as a software developer, not tolerating the strong effect of coffee on my sleep, but yerba mate, and especially freshly stored in vacuum bags, slightly dried but not smoked is my favorite.

Meta Mate (https://metamate.cc/) makes a total bomb of a mate product, can highly recommend if you are in Europe and want to try out their refreshing Meta Mate 23.

Have to order another batch from them now, I've tested many mates but theirs just tastes and works the best for me.

Was introduced to mate by a fellow software developer back in the day, happy that he did, would not have figure out it otherwise.


Wow thanks for the recommendation. We are currently out of stock of Meta Mate 23 and this season is going to be hard due to the weather conditions in south Brasil but hopefully we will be restocked in a couple of months with 23 and Raw Mate as these were harvested, dried and packed before the rains started. Moonshine Mate fans might have to continue enjoying last year's harvest....


Hehe spot on. 58% faster ad delivery, in 58% more random places than you would have expected!


The hardware looks and sounds great. Too bad it's running Windows 11.


The hardware is a Trojan horse to get the software in your house.


Long and dark winter probably. Nothing to do but sit inside, and study the dark arts of computers.


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

Search: