HN user

mvladic

19 karma
Posts0
Comments18
View on HN
No posts found.

Obsidian is an Electron app (I don't know if it belongs to the Block editor category). It loads just as fast as your app. I tried copying and pasting the text file War and Peace (66035 lines) from Notepad into both apps and, interestingly, Obsidian is slightly faster. Also, scrolling through this large chunk of text is slightly faster on Obsidian, too. Obsidian memory consumption (4 processes) is 172 MB and Daino Notes consumption (1 process) is 352.7 MB. Tested on Windows 11 PC.

Yes, I agree. And it seems that the author of this blog post agrees with that also, because he wrote: "If I could wave a magic wand, I would create an open working group, with the influence of the W3C behind me, to create a mandatory web standard for browsers that defines both a subset (to simplify and create an appropriate desktop security model) and an extension of CSS/HTML that is specifically optimized for marking up and implementing desktop applications, and have that all built into modern browsers as standard."

Browser hype is all good, but you have a memory limitation. And nothing beats a native app responsiveness.

I learned from the other HN comment that Figma is faster then Adobe XD (probably written in C++ as other Adobe software). Actually, Figma is also written in C++ then compiled with Emscripten to WASM, so it can run in the browser. Also, they skip DOM/SVG/Canvas 2D and use WebGL for fast rendering.

The killer feature was the multitouch interface and removal of the keyboard. The same was with Macintosh, they removed the focus from the keyboard to the mouse. It is much easier to know what to do when you have several buttons on the screen instead of generic keyboard with many keys. I remember Steve Jobs emphasized this during the iPhone introduction event.

The size of cJSON structure that holds single JSON value is 80 bytes on 64-bit or 32 bytes on 32-bit architecture. Why the author doesn't use union here? Or NAN boxing trick like many JS interpreter do. In case of NAN boxing, single JSON value uses only 8 bytes on both 64-bit and 32-bit architecture.

Autostereogram 7 years ago

Position your index finger between your eyes and monitor. If you focus on your index finger you will see only one index finger, but if you focus on monitor you will see two index fingers. Now, you need to do the same thing with the monitor, i.e. you need to see two monitors :-) by looking somewhere behind the monitor. If you separate two monitors just enough you will see the shark in 3D.