frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

A brief history of primary coding languages

https://eclecticlight.co/2025/07/19/a-brief-history-of-primary-coding-languages/
27•ingve•3d ago

Comments

spacedcowboy•2d ago
You can take ObjC from my cold, dead hands.

The cognitive burden of Swift is far too high for what it delivers, and it gets redesigned every year or two to be "different" than it was before, which makes finding example code online a challenge.

ObjC added about two dozen keywords to C and was rejected by the masses for use of [] insteqd of (). Is it really massively different to type:

   MyObject * object = [MyObject new];
rather than:

   MyObject * object = new MyObject;

Hell, you can even stretch to using property dot-syntax in ObjC:

   MyObject *object = MyObject.new;

It pretty much manages memory for you with ARC, the only thing you have to look out for being instance-loops where A retains B and B also retains A. It has closures (blocks) as a basic language type, and it is a true superset of C (unlike C++) so any C program will compile with the ObjC compiler. It also integrates with C++ for that matter.

Apple has invested too much in Swift for it to back down now, and I see some documentation is now Swift-only, not ObjC, so the writing is on the wall, but equally Apple has an enormous amount of internal code in ObjC, so it's going to be a long time before support goes away entirely.

And then, I'll just move to Linux. I've already written a basic implementation of a lot of the parts of Cocoa [1] with an SDL3 back-end, you even get GPU/compute shaders :) and although it's not ready for prime-time (the fit-and-finish needs some attention) it is the basis for me ultimately not needing to use Swift in future, a decade or so down the line, the bonus being that it'll work on anything - I have a proof-of-concept for it running on Windows, and GNUstep on Linux ought to make it easy to port there.

[1]: https://github.com/ThrudTheBarbarian/Azoth

cmicali•5h ago
I’m glad to see someone else that loves objective-c as much as I do. It is delightful.

It’s a fantastic language and tools. I wish it had had more time to polish, expand, and potentially grow beyond mainly Mac and iOS before swift happened.

JKCalhoun•5h ago
I'm sort of with you. But we must be old. All the "kids" that came on board Apple as I was heading out loved Swift.

I liked Swift up until some of the "kids" started using esoteric features of it that bent my mind. I know from experience that everything that looks odd at first will, one day, become second nature.

But as I say, perhaps like me, you're old. Because I'm just getting a little tired of waiting for my bent mind to straighten out.

It was amusing reading the article. MPW, THINK Pascal, THINK C, Objective-C, Swift ... yep, over the nearly 40 years of my career I have known them all.

  "For I have known them all already, known them all:
  Have known the evenings, mornings, afternoons,
  I have measured out my life with coffee spoons;"
And also in all the ways to allocate and release memory.
krackers•5h ago
More than just the language, with objc on mac you also get to take advantage of the surrounding stdlib. Toll-free bridging between CF and Cocoa, libdispatch which provides intuitive primitives for concurrency, etc. It's a shame that despite parts being open-sourced and GNUStep's efforts, there still isn't an easy way to get that "batteries included" experience.
apple4ever•5h ago
Hear hear! I love Objective-C and just think it's the best language. I will use ObjFW going forward (and GNUStep as a last resort) once (if?) Apple drops ObjC, but so far it's still going strong.
bitwize•5h ago
> ObjC added about two dozen keywords to C and was rejected by the masses for use of [] insteqd of ().

Syntax matters. It's like the lesson Lisp people just refuse to learn: It's the parens, stupid.

One of the complaints people reach for about Scheme is that it has too many implementations. JavaScript has many implementations too: Node, Deno, Bun, all the browser ones, ES5, ES6, TypeScript... hell, at $JOB we actually have code written for Rhino. But people will transpile and polyfill till the cows come home to get the latest features into their struggling IE6 SPA. Scheme, people just shrug their shoulders and give up. Why?

One reason probably is, it's the parens, stupid. The near monopoly advantage that JavaScript enjoys over the browser-application space (and hence, virtually all front-end development) is probably a major factor, but then what about the back end?

I love Objective-C too. It came the closest I've ever seen to writing Smalltalk in an environment where applications are expected to be native and snappy. I've written a video game in it... for Linux. But Apple realized that for many devs, especially those getting onboard iOS development, the brackets would be a sticking point. Hence Swift.

    a = foo.bar();
    if(!a.frobnitz()) { return nil; }
If your language doesn't look like that, you will have an uphill battle. All successful new programming languages look more or less like this now, with the possible exception of Python. But Python's significant indentation actually helps beginners, data people, and others who don't sprinkle semicolons and curly braces on their Wheaties every morning.

Also, FWIW I don't think GNUstep has switched to Swift yet either, may wish to consider giving that a go.

kazinator•4h ago
ObjC was rejected by the masses due to requiring a GNU compiler, whereas regular C had dozens of compilers.

C became popular outside of Unix because of compilers from Microsoft, Borland and a couple others for the IBM PC compatible machines running MS-DOS. (And note that they introduced C++ compilers also!)

Of you coded in Obj-C in the early 1990s (the window of opportunity for C derivatives to become popular), you would have been using expensive, niche hardware like a NeXT cube or Unix workstation.

If Obj-C had been made to work PCs in in the 1987-1990 time frame, and work well, it could have been a different story.

dlivingston•3h ago
What a cool project. I looked through your repo and it's very well done. Your code is very pleasant to read [0]. I wish I had the background knowledge and bandwidth to help. What do you think of SwiftUI, by the way?

[0]: https://github.com/ThrudTheBarbarian/Azoth/blob/main/Azoth/C...

spacedcowboy•2h ago
Why, thank you, fellow human :)

SwiftUI is probably awesome :), but I myself find the declarative style of programming to be harder to grok than the imperative style. This is probably just because I’m so used to imperative-style programming, and it’s probably (?) easier for those without huge experience in software engineering to understand. Personally, though, I find it’s a cognitive barrier, not an aide - I didn’t really prefer QML over the C++ Qt library either…

danielvaughn•3h ago
I did iOS work around 2015-2016 and I really enjoyed ObjC. Didn’t mind the unusual bracket syntax at all. Especially loved protocols - they just made sense to my brain.
jcranmer•2h ago
> It pretty much manages memory for you with ARC,

Objective-C added ARC relatively late, about 2010 or 2011 or so, and giving people a decade to stew with manual memory management isn't going to endear people to your language, especially when your competitors (C++, Java) have something, even if not great (the less said about std::auto_ptr, the better).

> ObjC added about two dozen keywords to C and was rejected by the masses for use of [] insteqd of (). Is it really massively different to type:

The square brackets are a vestige of Smalltalk, and it gives Objective-C a feeling of someone smashing Smalltalk into C and not really caring about the consequences. And it really doesn't help that Smalltalk itself had a pretty poor reputation by that point in time.

ofalkaed•2h ago
>GNUstep

How functional is this? It looks great but does not seem to get much use, is that just a popularity contest thing or does it have issues? Since it can compile any C code (up to what standard?) Does that mean we can mostly use C libraries? Are there issues with interfacing the C libraries with objc objects? Any good linux directed resources for learning objc/GNUstep?

spacedcowboy•2h ago
GNUstep is actually great, but it’s been around for a long time, and has some baggage because of that - which means you want the right (modern) setup, and not every Linux distribution provides the correct combination. You get Arc, you get blocks, you get everything that ObjC can offer (apart from very new or obscure Apple frameworks), and yes, it links with C/C++ just like it does on a Mac.

The full GNUstep provides a lot of functionality, so it depends on having a runtime installed - so it can load system frameworks for example. This means that installing a GNUstep app will install quite a lot of extra stuff into a “system” location, which could be seen as a disadvantage though.

ofalkaed•1h ago
>depends on having a runtime installed

That is what I want. I am just a hobbyist and not much good so having most of that stuff decided for me is a feature. I was going to go with a smalltalk but C libraries being native is a big plus for me and there will not be much to learn since I somewhat know C.

sumuyuda•1h ago
You should check out Darling if you like Objective-C and Apple/macOS development. It is implementing a macOS translation layer on Linux. There is lots of work needed implementing Apple’s frameworks in Objective-C.

https://www.darlinghq.org/

duskwuff•5h ago
As I recall, the "official" language of early Mac development was Pascal - just normal Pascal, not any of the OOP extensions like Clascal or Object Pascal. All of the documentation in Inside Macintosh assumed you were using Pascal, and most Toolbox routines took Pascal strings (one byte length + up to 255 characters) as arguments. But none of it used any OOP features - it was all entirely procedural.

Complete silence is always hallucinated as "ترجمة نانسي قنقر" in Arabic

https://github.com/openai/whisper/discussions/2608
137•edent•2h ago•53 comments

Global hack on Microsoft Sharepoint hits U.S., state agencies, researchers say

https://www.washingtonpost.com/technology/2025/07/20/microsoft-sharepoint-hack/
586•spenvo•1d ago•258 comments

Uv: Running a script with dependencies

https://docs.astral.sh/uv/guides/scripts/#running-a-script-with-dependencies
277•Bluestein•8h ago•80 comments

AI comes up with bizarre physics experiments, but they work

https://www.quantamagazine.org/ai-comes-up-with-bizarre-physics-experiments-but-they-work-20250721/
152•pseudolus•6h ago•67 comments

An unprecedented window into how diseases take hold years before symptoms appear

https://www.bloomberg.com/news/articles/2025-07-18/what-scientists-learned-scanning-the-bodies-of-100-000-brits
25•helsinkiandrew•3d ago•7 comments

What happens when an octopus engages with art?

https://www.cnn.com/2025/07/17/style/what-happens-when-an-octopus-engages-with-art
18•robinhouston•4d ago•5 comments

Kapa.ai (YC S23) is hiring a software engineers (EU remote)

https://www.ycombinator.com/companies/kapa-ai/jobs/JPE2ofG-software-engineer-full-stack
1•emil_sorensen•43m ago

Jujutsu for busy devs

https://maddie.wtf/posts/2025-07-21-jujutsu-for-busy-devs
143•Bogdanp•7h ago•140 comments

What went wrong inside recalled Anker PowerCore 10000 power banks?

https://www.lumafield.com/article/what-went-wrong-inside-these-recalled-power-banks
389•walterbell•13h ago•184 comments

Nasa’s X-59 quiet supersonic aircraft begins taxi tests

https://www.nasa.gov/image-article/nasas-x-59-quiet-supersonic-aircraft-begins-taxi-tests/
62•rbanffy•2d ago•38 comments

AccountingBench: Evaluating LLMs on real long-horizon business tasks

https://accounting.penrose.com/
453•rickcarlino•14h ago•117 comments

Don't bother parsing: Just use images for RAG

https://www.morphik.ai/blog/stop-parsing-docs
241•Adityav369•14h ago•65 comments

TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

https://github.com/KrishKrosh/TrackWeight
529•wtcactus•16h ago•129 comments

AI could have written this: Birth of a classist slur in knowledge work [pdf]

https://advait.org/files/sarkar_2025_ai_shaming.pdf
25•deverton•5h ago•31 comments

Look up macOS system binaries

https://macosbin.com
30•tolerance•3d ago•4 comments

Losing language features: some stories about disjoint unions

https://graydon2.dreamwidth.org/318788.html
74•Bogdanp•3d ago•17 comments

Erlang 28 on GRiSP Nano using only 16 MB

https://www.grisp.org/blog/posts/2025-06-11-grisp-nano-codebeam-sto
146•plainOldText•12h ago•8 comments

New records on Wendelstein 7-X

https://www.iter.org/node/20687/new-records-wendelstein-7-x
214•greesil•16h ago•91 comments

The Game Genie Generation

https://tedium.co/2025/07/21/the-game-genie-generation/
120•coloneltcb•13h ago•51 comments

The surprising geography of American left-handedness (2015)

https://www.washingtonpost.com/news/wonk/wp/2015/09/22/the-surprising-geography-of-american-left-handedness/
31•roktonos•10h ago•17 comments

What will become of the CIA?

https://www.newyorker.com/magazine/2025/07/28/the-mission-the-cia-in-the-21st-century-tim-weiner-book-review
91•Michelangelo11•13h ago•146 comments

We have made the decision to not continue paying for BBB accreditation

https://mycherrytree.com/blogs/news/why-we-have-made-the-decision-to-not-continue-paying-for-accreditation-from-the-better-business-bureau-bbb
90•LorenDB•4h ago•44 comments

Scarcity, Inventory, and Inequity: A Deep Dive into Airline Fare Buckets

https://blog.getjetback.com/scarcity-inventory-and-inequity-a-deep-dive-into-airline-fare-buckets/
99•bdev12345•12h ago•37 comments

Workers at Snopes.com win voluntary recognition

https://newsguild.org/workers-at-snopes-com-win-voluntary-union-recognition/
95•giuliomagnifico•3h ago•4 comments

I know genomes. Don't delete your DNA

https://stevensalzberg.substack.com/p/i-know-genomes-dont-delete-your-dna
48•bookofjoe•12h ago•60 comments

Tokyo's retro shotengai arcades are falling victim to gentrification

https://www.theguardian.com/world/2025/jul/18/cult-of-convenience-how-tokyos-retro-shotengai-arcades-are-falling-victim-to-gentrification
33•pseudolus•3d ago•11 comments

Occasionally USPS sends me pictures of other people's mail

https://the418.substack.com/p/a-bug-in-the-mail
170•shayneo•16h ago•168 comments

I've launched 37 products in 5 years and not doing that again

https://www.indiehackers.com/post/ive-launched-37-products-in-5-years-and-not-doing-that-again-0b66e6e8b3
142•AlexandrBel•19h ago•126 comments

Show HN: Lotas – Cursor for RStudio

https://www.lotas.ai/
67•jorgeoguerra•13h ago•26 comments

UK backing down on Apple encryption backdoor after pressure from US

https://arstechnica.com/tech-policy/2025/07/uk-backing-down-on-apple-encryption-backdoor-after-pressure-from-us/
483•azalemeth•16h ago•338 comments