frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Native all the way, until you need text

https://justsitandgrin.im/posts/native-all-the-way-until-you-need-text/
39•dive•56m ago

Comments

PaulHoule•49m ago
Yep. Electron is the worst way to make a desktop app… except for all the others!
cyber_kinetist•17m ago
I just wish there was a native Markdown renderer / editor library in C that I can use cross-platform - in the style of something like IMGUI (where the library outputs a list of primitives for you to render yourself in any graphics API).

Or well... since we now have Claude I might have a jab at this someday in my free time.

nicoburns•4m ago
For just rendering (no editing) you could use https://github.com/litehtml/litehtml (C) or https://github.com/DioxusLabs/blitz (Rust).

Both are actually lightweight HTML rendering libraries, so you need to compile markdown to HTML to use them. But there are many libraries for that.

elch•17m ago
How is "performance" defined? Does it take into account the amount of memory required in each case?
Filligree•16m ago
The purpose of limiting memory use is so your computer does not become laggy as you run out of memory. We don’t do it for its own sake.

But then, what’s the point in using an inherently laggy technique to save memory?

elch•13m ago
How about running many tasks on the machine at the same time?
inatreecrown2•8m ago
Not just text. Try to build a ui where you need non-trivial and non-standard behavior and SwiftUI will fail. AppKit is still better in this regard.
splittydev•7m ago
I've had pretty much the same experience with my AI chat app. Nothing works well. Markdown rendering is slow and laggy, streaming is slow and laggy, everything locks up the UI. I've tried at least 5 of the most popular text editor components for UIKit and SwiftUI on GitHub, and all were broken in one way or another, buggy, and slow as well. It's ridiculous.
rTX5CMRXIfFG•7m ago
Show your code, or show you the door. There are so many native Mac and iOS apps out there right now perfectly capable of rendering Markdown and streaming text. You just gotta wonder what is this guy’s excuse.
danielvaughn•6m ago
I remember being a junior engineer in 2015, and being asked to render a clickable link within a paragraph in an iOS app. Swift had just been released so we were still entirely on the ObjC/UIKit stack. It was an absolute nightmare. I _barely_ managed to make it work. I haven't really touched iOS since about 2016, so I assumed the new SwiftUI stuff would have this stuff built in. Obviously. Kind of insane that it wasn't.
chromadon•6m ago
This is where QT/JUCE can help. Although you are limited to c++.
ryandrake•5m ago
I don’t recall ever struggling with NSTextView. I never really got into Swift, but I’ve never found Cocoa / Objective C to have any of the problems the author mentioned.

Not exactly sure what “streaming” text is, but serial terminal software has been handling incremental text rendering and updating for decades, without performance struggles.

usernametaken29•5m ago
Kotlin MP is also pretty decent on Mac
saagarjha•2m ago
You can just embed a web view in your app, though?

Is there an open source that give condidates about new paradigms?

1•moniazamla•27s ago•0 comments

Learning-focused CTFs are Facing a Restructure

https://exploiting.systems/posts/2026-05-17-learning-focused-ctfs-are-facing-a-restructure
1•ropbear•33s ago•0 comments

Agentic Trading with Safe Guardrails

https://github.com/ShurikenTrade/shuriken-skills
1•jgan0978•1m ago•0 comments

Self-hosted browser fingerprinting and bot detection with real-world constraints

https://github.com/antoinevastel/fpscanner
1•mmarian•2m ago•0 comments

Show HN: I vibe coded a music box

https://www.quaxio.com/music_box/
1•amenghra•4m ago•0 comments

Hubski

1•Mamimina•5m ago•0 comments

Ask HN: How do you approach a new codebase?

2•praneetbrar•7m ago•1 comments

Post-Quantum JWT Library/Package for Node.js/JS/TypeScript (NIST FIPS 204M-DSA)

https://www.npmjs.com/package/@pq-jwt/core
1•bchain•7m ago•1 comments

The jobs apocalypse: a (very) short history

https://www.economist.com/finance-and-economics/2026/05/14/the-jobs-apocalypse-a-very-short-history
1•dcminter•9m ago•0 comments

What Do You Want?

https://dekodiert.de/en/articles/was-wollt-ihr-eigentlich
2•sdoering•13m ago•0 comments

'Once in a lifetime find': Dinosaur tail discovered trapped in amber (2016)

https://www.cnn.com/2016/12/08/health/dinosaur-tail-trapped-in-amber-trnd
1•downbad_•14m ago•0 comments

Async I/O in Zig 0.16, today

https://lalinsky.com/2026/05/11/async-io-in-zig-016-today.html
1•danborn26•14m ago•0 comments

Refactor: Unified Codebase for Better Performance

https://github.com/thesysdev/openui/pull/517
1•freakynit•17m ago•0 comments

WorkClarity – Free AI tools fo freelancers

https://workclarity.co
1•bmackler•17m ago•0 comments

Show HN: CLI for image/video to ASCII art

https://github.com/k-wong/ascii-art-generator
1•kevinwong•18m ago•0 comments

OpenSMTPD Is the Mail Server for the Future

https://bsdly.blogspot.com/2026/05/opensmtpd-is-mail-server-for-future.html
1•peter_hansteen•22m ago•0 comments

How a blind taste competition launched the American wine industry

https://thehustle.co/originals/how-a-blind-taste-competition-launched-the-american-wine-industry
1•Anon84•22m ago•1 comments

GDS weighs in on the NHS's decision to retreat from Open Source

https://shkspr.mobi/blog/2026/05/gds-weighs-in-on-the-nhss-decision-to-retreat-from-open-source/
1•edent•24m ago•0 comments

Tearing apart an x-ray machine I got from the government

https://www.youtube.com/watch?v=SCvUNmEWDFo
1•marklit•27m ago•0 comments

Secure Messaging Apps Have Solved Encryption. The Rest Is the Problem

https://xpalapp.substack.com/p/xpal-secure-messaging-app-security-architecture-2026
2•Brandon-Coll•29m ago•0 comments

Day 80 of internet blackout: We gave up in freedom of information in Iran [video]

https://www.youtube.com/watch?v=dQw4w9WgXcQ
2•us321•31m ago•0 comments

I don't think AI will make your processes go faster

https://frederickvanbrabant.com/blog/2026-05-15-i-dont-think-ai-will-make-your-processes-go-faster/
23•TheEdonian•32m ago•3 comments

I use LLMs as a staff engineer in 2026

https://www.seangoedecke.com/how-i-use-llms-in-2026/
6•alexharri•34m ago•1 comments

Shellify: Turning websites into Android apps, without the telemetry tax

https://github.com/smellouk/shellify5
2•dalidx88•35m ago•0 comments

Apple Silicon costs more than OpenRouter

https://www.williamangel.net/blog/2026/05/17/offline-llm-energy-use.html
30•datadrivenangel•36m ago•11 comments

What we learned from a cringey courtroom drama between Elon Musk and Sam Altman

https://www.theguardian.com/us-news/2026/may/16/what-we-learned-elon-musk-sam-altman
2•beardyw•41m ago•0 comments

Products are out, brains are in

https://mrmarket.bearblog.dev/products-are-out-brains-are-in-new/
3•mrmarket•42m ago•0 comments

Scientists believe ibogaine can help veterans overcome PTSD

https://www.bbc.com/future/article/20260514-how-hallucinogenic-ibogaine-helps-veterans-overcome-ptsd
3•bushwart•43m ago•1 comments

Show HN: Snatch Guard – iOS theft detection with accelerometer and Screen Time

https://snatchguard.app
2•olegmmv•46m ago•0 comments

One IP, Six Crawler Identities, One Second (Detection via Nginx Logs)

https://speytech.com/insights/rotational-bot-identity-detection/
2•william1872•47m ago•0 comments