20 comments

  • mikehall3141 hour ago
    Every so often I get weirdly obsessed with Objective-J, which &quot;has the same relationship to JavaScript as Objective-C has to C&quot;. It is (was?) an absolutely bonkers project. I think it has more or less died since 280 North was acquired.<p><a href="https:&#x2F;&#x2F;www.cappuccino.dev&#x2F;learn&#x2F;objective-j.html" rel="nofollow">https:&#x2F;&#x2F;www.cappuccino.dev&#x2F;learn&#x2F;objective-j.html</a>
    • 0x4576 minutes ago
      Didn&#x27;t expect to see cappuccino mentioned ever again. It was so wild, you can use AppKit documentation for cappuccino. Apps were so pretty and yet so fast.<p>I remember back in 2009 I really liked their coffee machine icon. I emailed the devs, they referred me to some design studio, and then to my surprise they replied and said that it&#x27;s Francis Francis X1. Now I&#x27;m looking at it in my home office.
    • samesimilar31 minutes ago
      Anyone know if this is or ever was the basis for Apple&#x27;s iCloud web apps on iCloud.com (e.g. Keynote &#x2F; Pages &#x2F; Notes etc.)? Those apps are heroic attempts to replicate the desktop app experience in the browser. I&#x27;m curious what web framework is underlying it. Side note - if I could install 3rd party apps w&#x2F; similar UIs in my iCloud dashboard that would be interesting.
      • mikehall3146 minutes ago
        I think originally Apple was using SproutCore, which had similar aspirations to produce &quot;desktop quality&quot; web apps, and was one of the early frameworks to implement things like two-way data binding. This was back when iCloud was called MobileMe.<p>SproutCore 2.0 became Ember.js 1.0, but I don&#x27;t know if Apple are still using it.
      • mikestew15 minutes ago
        Cappuccino was not an Apple project, so I doubt that is what Apple used to develop those projects.
    • zffr1 hour ago
      Holy shit, it’s still being actively developed and maintained <a href="https:&#x2F;&#x2F;github.com&#x2F;cappuccino&#x2F;cappuccino" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cappuccino&#x2F;cappuccino</a>
      • vintagedave1 minute ago
        And wow, it&#x27;s basically a web version of Cocoa! Check this out: <a href="https:&#x2F;&#x2F;ansb.uniklinik-freiburg.de&#x2F;ThemeKitchenSinkA3&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ansb.uniklinik-freiburg.de&#x2F;ThemeKitchenSinkA3&#x2F;</a>
      • Towaway6948 minutes ago
        More amazingly the guy doing the most recent maintaining[1] is a medical Professor at Freiburg Uni.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;daboe01" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;daboe01</a>
    • ihumanable1 hour ago
      Same. I remember when this first came up and I was like &quot;this is so weirdly interesting.&quot;<p>Sad that they got acquired because it was just fascinating what they were doing, even if I was never going to use it.
    • sgt1 hour ago
      Weren&#x27;t they acquired by Motorola?
      • mikehall3144 minutes ago
        Yes, after which they announced they were canning their &quot;Atlas&quot; project, which was meant to be an Interface Builder for the web. Motorola decided they wanted to keep the technology in house.<p>No idea if they ever did anything with it!
  • kccqzy4 minutes ago
    I do not get this argument at all. A long time ago I ported a simple sudoku solver to Objective-C by using the foundation classes, like NSMutableArray. It was terribly slow. All those messaging sending just to do what should have been a single instruction (or less!) That’s when I realized that if you want speed in an Objective-C app, you really are going to reach for the C subset. The objective part is really good for building GUIs, but not for pure computation.
  • vintagedave2 hours ago
    I really miss Objective-C, and in the world of Swift craziness [1] I&#x27;m reminded often of this blog post [2] wondering what would have happened if Apple hadn&#x27;t encountered Second System Syndrome for its recommended language.<p>(There&#x27;s a decent argument it encountered it in iOS and macOS too.)<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;swiftlang&#x2F;swift-evolution&#x2F;blob&#x2F;main&#x2F;proposals&#x2F;0507-borrow-accessors.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;swiftlang&#x2F;swift-evolution&#x2F;blob&#x2F;main&#x2F;propo...</a> -- apologies to the authors, but even as a previous C++ guy, my brain twisted at that. Inside Swift is a slim language waiting to get out... and that slim language is just a safer Objective C.<p>[2] <a href="https:&#x2F;&#x2F;medium.com&#x2F;goodones&#x2F;pareto-optimal-apple-devtools-b47e79b6676f" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;goodones&#x2F;pareto-optimal-apple-devtools-b4...</a>
    • cosmic_cheese1 hour ago
      Obj-C’s simplicity can be nice, but on the other hand I don’t miss having to bring in a laundry list of CocoaPods to have features that are standard in Swift. I don’t miss maintaining header files or having to operate in old codebases that badly manage Obj-C’s looseness either.
    • anextio1 hour ago
      &gt;[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;swiftlang&#x2F;swift-evolution&#x2F;blob&#x2F;main&#x2F;propo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;swiftlang&#x2F;swift-evolution&#x2F;blob&#x2F;main&#x2F;propo</a>... -- apologies to the authors, but even as a previous C++ guy, my brain twisted at that. Inside Swift is a slim language waiting to get out... and that slim language is just a safer Objective C.<p>These kinds of features are not intended for use in daily application development. They&#x27;re systems-language features designed for building high performance, safe, very-low-level code. It will be entirely optional for the average Swift developer to learn how to use these features, just in the same way that it&#x27;s optional for someone to learn Rust.
    • tarentel2 hours ago
      I go back and forth. I do miss the simplicity of objc at times though. I think in a short amount of time someone can become close to an expert in objc. Swift is already incredibly complicated and there&#x27;s no end in sight.
    • nicoburns1 hour ago
      &gt; Inside Swift is a slim language waiting to get out... and that slim language is just a safer Objective C.<p>Rust? Rust is basically a simpler Swift. The objective-c bindings are really nice too, and when you&#x27;re working with obj-c you don&#x27;t have have worry about lifetimes too much, because you can lean on the objective-c runtime&#x27;s reference counting.<p>I think the way to think about it is that with Rust, it&#x27;s as if all the goodness in Swift was implemented with in the &quot;C&quot; level, and the Objective-C but is still just library-level a runtime layer on top. Whereas Swift brings it&#x27;s own runtime which greatly complicates things.
      • gbanfalvi38 minutes ago
        I would absolutely not call Rust a simpler Swift. Swift doesn&#x27;t have and ownership&#x2F;borrowing system, explicit lifetime for objects, much more expressive (and therefore complex) macro support...<p>I get that there&#x27;s a tradeoff. Rust requires you to be way more explicit about what you&#x27;re intending upfront and that can, in the long term, lead to simpler code -- but there&#x27;s no dimension (depth-wise or breadth-wise) that I&#x27;d call Rust simpler.
      • estebank1 hour ago
        One of my recurring language design hot takes is that it&#x27;s easier to design for speed and then make it easy to use than it is to make it easy to use and then try to speed it up.
        • coliveira16 minutes ago
          C++ is trying to make C easier to use for 40 years, and it&#x27;s still not there. So I wouldn&#x27;t call that easier.
      • zer0zzz39 minutes ago
        Except the entire design of swift is meant to make everything more automated.<p>* automated exclusivity with value types and value witness tables, classes as arc types (ie Arc&lt;Mutex&lt;T&gt;&gt;)<p>* automated interop with C&#x2F;C++&#x2F;Obj-C through the clang ast importer<p>Maybe they could have started with rust and added on what they needed, but why not build a new language at that point where things so fundamental are involved?<p>Source: I worked in lattners org at the time of swifts inception (on an unrelated backend) but that was the motivation. I also worked on the swift compiler for a little bit some years later on in my career.
  • flohofwoe1 hour ago
    IMHO the one great feature of Objective-C (compared to C++) is that it doesn&#x27;t interfere with any C language features. In C++ the C &#x27;subset&#x27; is stuck in the mid-1990s, while Objective-C &quot;just works&quot; with any recent C standard.
    • safercplusplus47 minutes ago
      Interestingly, I recently auto-translated wget from C to a memory-safe subset of C++ [1], which involves the intermediate step of auto-converting from C to the subset of C that will also compile under clang++. You end up with a bunch of clang++ warnings about various things being C11 extensions and not ISO C++ compliant, but it does compile.<p>[1] <a href="https:&#x2F;&#x2F;duneroadrunner.github.io&#x2F;scpp_articles&#x2F;PoC_autotranslation_of_wget" rel="nofollow">https:&#x2F;&#x2F;duneroadrunner.github.io&#x2F;scpp_articles&#x2F;PoC_autotrans...</a>
    • j16sdiz14 minutes ago
      I think C++ have caught up with C99 already. So it&#x27;s late 90s, not mid-90s :)
  • seanalltogether2 hours ago
    At this point in my career, I can&#x27;t go back to a language that doesn&#x27;t have support for Optionals or compiler validation of nullable types. I can sacrifice async or fancy stream apis, but I will never go back to chasing null pointer exceptions on a daily basis.
    • iainmerrick2 hours ago
      Obj-C does have a &quot;nonnull&quot; annotation now (apparently added to assist Swift interop). One of the final jigsaw pieces turning it into a really pleasant language.
      • catoc19 minutes ago
        It is a really pleasant language, but I think the &lt;nonnull&gt; annotation is for initialization only - compiler checking against initializing an object ptr with a null value - and does not prevent crashing when addressing an already released object
    • coliveira18 minutes ago
      If you use Objective-C objects, operations on null pointers are just a no-op, so there is not such thing as chasing exceptions.
    • tarentel2 hours ago
      I don&#x27;t think objc has the equivalent of a null pointer exception. You can freely send messages to a deallocated object. Since ARC, it is rare, at least in my experience, running into any memory related issues with objc.
      • Me10001 hour ago
        You can send messages to null, sendings messages to a deallocated pointer is going to be a bad time.
        • e28eta1 hour ago
          It’s nice not to crash, but unexpected null can still cause bugs in ObjC when the developer isn’t paying attention.<p>Having done both ObjC with nonnull annotations, and Swift, I agree that it’d be hard to forgo the having first-class support for Optionals
  • waynecochran2 hours ago
    I still find Objective-C++ useful for writing MacOS apps that make heavy use of C++ libraries (e.g.; Eigen, OpenCV). The caveat is I have done a lot of Objective-C programming and Swift is still not as seamless as I would like bridging with modern C++ and the the STL.
    • billti1 hour ago
      I&#x27;ve been playing around with low-level Metal a bunch lately, any many of their docs and samples seem still be mostly in Objective-C&#x2F;C++ and not Swift, so have been forcing myself to get into it.<p>At first I had the usual revulsion to the syntax, but after a few days getting used to it, I actually don&#x27;t mind it at all now. (I still wouldn&#x27;t say it&#x27;s &quot;elegant&quot;, but I can live with it).<p>Being Metal shader code is basically C++ anyway, and C++ is a language I&#x27;m familiar with, having a couple of .mm files to hold the Objective-C++ for API bridging and working in regular .cpp (and .h) files for the rest is pretty straight forward compared to having to learn Swift. (Especially with all the complaints I&#x27;ve heard about its complexity, including from Chris Lattner himself lately, which aligns with some of the other comments here).<p>Though to be fair, &quot;Swift seems overly complex so use C++ instead&quot; seems like a tough argument to make with a straight face ;-p
    • iainmerrick2 hours ago
      Yeah, Objective-C++ is surprisingly great. It sounds like a terrible idea, but the bridging works pretty much seamlessly, and Obj-C and C++ don&#x27;t actually overlap all that much so they don&#x27;t step on each other&#x27;s toes. Each language has strengths that shore up the weak spots in the other.
      • delta_p_delta_x2 hours ago
        +1 to Objective-C++. It makes for some surprisingly clean, compact code, best of both worlds, really. And the bridging between ARC and CF types is really quite magical, more languages should have that ability to be expressed in an older language without stripping everything out.<p>I just wish there were Objective-C bindings for more CF classes without having to mess with C.
    • frou_dh1 hour ago
      Obj-C++ was used for some hall-of-fame OS X apps, e.g. TextMate
  • zarzavat1 hour ago
    Smalltalk is like pizza. Even when it&#x27;s bad, it&#x27;s still pretty good.
  • gwbas1c1 hour ago
    One of the things I miss about Objective C is just how easy it is to call into a C API, or otherwise include a C function if that&#x27;s the easiest way to call into a C API.<p>I shipped a cross-platform C# project, and once I realized I could expose &quot;ordinary C&quot; from the Objective C part, it was very easy to integrate the two without using a framework. (It helped that the UI was 100% Objective C, so there wasn&#x27;t much surface area between the C# and Objective C parts. We initially used MonobjC, but first I had to work around a shortcoming, and then we needed to remove MonobjC due to licensing and some of the newer C# integration layers were not available.)
  • danielvaughn1 hour ago
    I really enjoyed Obj-C when I did some iOS work back in 2015&#x2F;2016. It was my first non-JS language, and it taught me so much that I didn&#x27;t understand since I started out doing web dev.
  • mghackerlady1 hour ago
    I&#x27;ve always liked Objective-C. Despite me not really liking object-oriented programming, I appreciate that its one of a handful of languages to do actual smalltalk-esque oop
  • frityet1 day ago
    Good time to check out ObjFW [1], it&#x27;s a cross platform ObjC framework that&#x27;s just really awesome<p>[1] <a href="https:&#x2F;&#x2F;git.nil.im&#x2F;ObjFW&#x2F;ObjFW" rel="nofollow">https:&#x2F;&#x2F;git.nil.im&#x2F;ObjFW&#x2F;ObjFW</a>
    • vintagedave2 hours ago
      I hadn&#x27;t come across this. Insane (if true, I&#x27;ve never tried) that GnuStep is not 100% compatible, surely that would be the point.<p>How easy is it to port, say, a Leopard-era Objective C app to ObjFW?
      • steeleduncan44 minutes ago
        I tried this with an old iOS only game a few years ago. It is clearly not a heavily used library, but it seemed to work ok<p>- There was a bug or two I had to patch, but the code is readable, so it wasn&#x27;t a big deal<p>- OFString, etc aren&#x27;t intended to be 1:1 replacements for NSString, etc. This wasn&#x27;t a real problem. They mostly match, and all I needed to do was write a few categories<p>- The runtime functions are not compatible at all, but most projects wouldn&#x27;t touch those<p>- CoreFoundation and the other C APIs are not there at all, so you&#x27;ll need replacements<p>- It is a replacement for Foundation framework, not AppKit, so if it is a GUI app you still have a lot of work to do
        • rweichler14 minutes ago
          This is why I went with GNUstep. All of the APIs are 1:1 with Apple&#x27;s, including the runtime (which is very important imo). It has AppKit support as well; its AppKit implementation is kind of half-baked, but at least it exists. Also, a lot of the APIs are kind of old. But looking at how Swift evolved over the years, maybe that&#x27;s not a bad thing.<p>My main complaint with GNUstep is the licensing. The runtime itself is MIT which is great, but its implementation of Foundation&#x2F;AppKit is LGPL. ObjFW, including its runtime, is LGPL. At least with GNUstep one day I can create my own version of Foundation based on Cocotron or swift-corelibs-foundation or something, and not need to muck with rpaths + ship a bunch of .dll&#x2F;.dylib&#x2F;.so files with my app in order to comply with the license.
  • millerm1 hour ago
    Wow, I haven&#x27;t written any Objective-C since around 2012. I just went back and looked at some code I had written back then and that really brought back some memories. I was much happier then. I&#x27;m perpetually sad and unemployed now.<p>That&#x27;s all. Enjoy yourselves.
  • rixtox1 hour ago
    The most difficult part of Objective-C is its ARC rules, and mixing ARC and non-ARC code in the same project.
  • Naman-Dixit2 hours ago
    &gt; you’ll realize how small a language it is, how easy to hold in your palm and turn around and understand all sides of it<p>I have never programmed in ObjC but was curious to learn how it works, and so I decided to write a ObjC runtime [0]. It took less than 2000 lines, and a large number of them are comments. Now I wonder how easy would it be to do dome lispy symbolic computing in it. Maybe something like a Prolog.<p>[0] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;namandixit&#x2F;76cd084676acdf16cfd014cbbee7026d" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;namandixit&#x2F;76cd084676acdf16cfd014cbb...</a>
  • zerr1 hour ago
    Any popular cross-platform GUI toolkits? How do you find GNUstep?
  • 9rx2 hours ago
    <i>&gt; [[those squareBrackets] lookInsane:YES].</i><p>Nah, they are perfectly sane. They look like little ASCII envelopes because that&#x27;s exactly the metaphor. Square brackets send messages.
    • nmeofthestate2 hours ago
      They&#x27;re function calls right? I can&#x27;t square the &quot;message passing&quot; conceit (implying putting message objects on queues, dequeuing etc) with the claim that Obj-C is just C with some extra stuff.
      • pavlov2 hours ago
        They&#x27;re not direct function calls, but sugar for objc_msgSend():<p><a href="https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;ObjectiveC&#x2F;objc_msgSend" rel="nofollow">https:&#x2F;&#x2F;developer.apple.com&#x2F;documentation&#x2F;ObjectiveC&#x2F;objc_ms...</a>
      • 9rx2 hours ago
        Absolutely not. It only sends a message. The receiver doesn&#x27;t have to have a corresponding method and can do with that message what it will. Objective-C is a &#x27;true&#x27; object-oriented language, like Smalltalk.
        • flohofwoe1 hour ago
          In the end though most of those &#x27;sending a message&#x27; actions are just fancy virtual method calls (e.g. an indirect jump), everything else would be much too slow:<p><a href="https:&#x2F;&#x2F;www.mikeash.com&#x2F;pyblog&#x2F;friday-qa-2017-06-30-dissecting-objc_msgsend-on-arm64.html" rel="nofollow">https:&#x2F;&#x2F;www.mikeash.com&#x2F;pyblog&#x2F;friday-qa-2017-06-30-dissecti...</a><p>IMHO the whole &#x27;message&#x27; and &#x27;sending&#x27; lingo should be abandondend, the job of objc_msgSend is to look up a function pointer by certain rules. There are no &#x27;messages&#x27; involved, and nothing is &#x27;sent&#x27;.
          • 9rx1 hour ago
            <i>&gt; There are no &#x27;messages&#x27; involved, and nothing is &#x27;sent&#x27;.</i><p>The conceptual difference is significant as an object can respond to messages that it doesn&#x27;t have a method for. You are, conceptually, just sending a message and leave it up to the object what it wants to do with it (e.g. forwardInvocation:). That is, after all, what sets &quot;object-oriented&quot; apart from having objects alone. Optimizations that can be made under the hood don&#x27;t really affect the language itself.
            • flohofwoe1 hour ago
              &gt; can respond to messages that it doesn&#x27;t have a method for.<p>Clang produces a warning in that case though (something along the lines of &quot;object might not respond to ...&quot;), I don&#x27;t think that feature is particularly useful in practice (also because it kills any sort of type safety) :)
              • kccqzy2 minutes ago
                And the reason it’s a warning and not an error (like in C++) is that it’s actually possible that the object can respond to such a message but the compiler doesn’t know about it.
              • 9rx1 hour ago
                It was incredibly useful in the olden days. The NeXT&#x2F;Apple ecosystem leaned on it heavily.<p>We have new ways to approach problems nowadays, so it may be fair to say that object-oriented programming is a relic of the past. I mean, it is telling that Smalltalk, Objective-C, and Ruby are the only languages to ever go down that road. Still, if you are using an OO language, then it makes sense to lean into OO features. Otherwise, why not use a language better suited to your problem?
        • chuckadams2 hours ago
          &gt; a &#x27;true&#x27; OOP language, like Smalltalk.<p>I guess Simula, which is older than Smalltalk, doesn&#x27;t get a say.
          • 9rx2 hours ago
            What would it have to say about it? When &quot;object-oriented&quot; was first told, it was said that what defines it is message passing. Simula does not have message passing. It uses function calling. Simula does have objects, but having objects does not imply orientation.
  • JSR_FDED24 minutes ago
    [objC retain]
  • LoganDark2 hours ago
    I recently started writing for macOS in Swift and, holy hell, the debuggability of the windowing toolkits is actually unparalleled. I&#x27;ve never seen something that is this introspectable at runtime, easy to decompile and analyze, intercept and modify, etc. Everything is so modular, with subclassing and delegation patterns everywhere. It seems all because of the Objective-C runtime, as without it you&#x27;d end up needing something similar anyway.<p>You can reach into built-in components and precisely modify just what you want while keeping everything else platform-native and without having to reimplement everything. I&#x27;ve never seen anything like this before, anywhere. Maybe OLE on Windows wanted to be this (I&#x27;ve seen similar capabilities in REALLY OLD software written around OLE!) but the entirety of Windows&#x27; interface and shell and user experience was never unified on OLE so its use was always limited to something akin to a plugin layer. (In WordPad, for example)<p>The only thing that even seems reminiscent is <i>maybe</i> Android Studio, and <i>maybe</i> some &quot;cross-platform&quot; toolkits that are comparatively incredibly immature in other areas. But Android Studio is so largely intolerable that I was never able to dig very far into its debugging capabilities.<p>I feel like I must be in some sort of honeymoon phase but I 100% completely understand now why many Mac-native apps are Mac-native. I tried to write a WinUI3 app a year or two ago and it was a terrible experience. I tried to get into Android app development some years ago and it was a terrible experience. Writing GUIs for the Linux desktop is also a terrible experience. But macOS? I feel like I want to sleep with it, and I weep for what they&#x27;ve done with liquid glass. I want the perfection that led to Cocoa and all its abstractions. Reading all the really, super old documentation that explains entire subsystems in amazingly technical depth makes me want to SCREAM at how undocumented, unpolished and buggy some of the newer features have gotten.<p>I&#x27;ve never seen documentation anything like that before, except for Linux, on Raymond Chen&#x27;s blog, and some reverse-engineering writeups. I do love Linux but its userspace ecosystem just is not for me.<p>Maybe this is also why Smalltalk fiends are such fans. I should really get into that sometime. Maybe Lisp too.
    • kmeisthax18 minutes ago
      &gt; Writing GUIs for the Linux desktop is also a terrible experience.<p>I&#x27;ve found the DX for GTK to be at least tolerable. Not fantastic, but I can at least look at a particular API, guess how the C-based GObject code gets translated by my language bindings of choice, and be correct more often than not. The documentation ranges from serviceable to incomplete, but I can at least find enough discussion online about it to get it to do what I want.<p>Also, GTK apparently ships with a built-in inspector tool now. Ctrl-Shift-I in basically any GTK app opens it. That alone is extremely useful, and you basically have to do nothing to get it. It&#x27;s free.<p>I&#x27;ve never tried Qt. The applications that use it always seem off to me.<p>As for OLE, you&#x27;re actually thinking of COM, not OLE. They were co-developed together: COM is a cross-language object system (like GObject), while OLE is a set of COM interfaces for embedding documents in other arbitrary documents. Like, if you want to put a spreadsheet into a Word document, OLE is the way you have to do that. Microsoft even built much of IE[0] on top of OLE to serve as its extension mechanism.<p>OLE is dead because its use case died. Compound documents as a concept don&#x27;t really work in the modern era where everything is same-origin or container sandboxed. But COM is still alive and well. It&#x27;s the glue that holds Windows together - even the Windows desktop shell. All the extension interfaces are just COM. The only difference is that now they started packaging COM objects and interfaces inside of .NET assemblies and calling it &quot;WinRT&quot;. But it&#x27;s the same underlying classes. If you use, say, the Rust windows crate, you&#x27;re installing a bunch of language bindings built from WinRT metadata that, among other things, call into COM classes that have been there for decades.<p>Mac apps are Mac native because Apple gives enough of a shit about being visually consistent that anyone using a cross-platform widget toolkit is going to look out of place. Windows abandoned the concept of a unified visual identity when Windows 8 decided to introduce an entirely new visual design built around an entirely new[1] widget toolkit, with no consideration of how you&#x27;d apply any of that to apps using USER.dll&#x2F;Common Controls. As it stands today, Windows does not have a good answer to &quot;what widget toolkit do I use to write my app&quot;, and even Microsoft&#x27;s own software teams either write their own toolkits or just use Electron.<p>[0] Petition to rename ActiveX to WebOLE<p>[1] OK, yes, XAML existed in the Vista era, but that was .NET only, and XAML apps didn&#x27;t look meaningfully different from ones building their own USER.dll window classes like it&#x27;s 1993.
      • LoganDark0 minutes ago
        &gt; As for OLE, you&#x27;re actually thinking of COM, not OLE. They were co-developed together: COM is a cross-language object system (like GObject), while OLE is a set of COM interfaces for embedding documents in other arbitrary documents. Like, if you want to put a spreadsheet into a Word document, OLE is the way you have to do that. Microsoft even built much of IE[0] on top of OLE to serve as its extension mechanism.<p>Oops, you are right about COM. I got them mixed up because I was thinking of the integration in WordPad.
  • netbioserror2 hours ago
    I bounced off of Objective-C not because of its message-passing OO. That was the actual cool part. I bounced off because of the insane amount of boilerplate prototyping and headers required to use it.<p>I think every OO language should be using Smalltalk&#x27;s message-passing style rather than holding hard references, and Objective-C is a great model. But discard the rest.
    • socialdemocrat1 hour ago
      Apple should have made a modern Smalltalk on top of the Objective-C object model as a replacement for Objective-C instead of Swift.<p>I want to love Swift, but the funny thing is that as they solve more problem with Swift they also add so much complexity that you wonder if all the problems they solved just added new problems.
  • sgt1 hour ago
    That&#x27;s it, I&#x27;m pivoting my startup technically and rewriting everything in ObjC! &#x2F;s
    • Towaway6944 minutes ago
      I wonder how well AI generates Obj-C - it might well produce better quality code for your token&#x2F;buck!<p>In a previous life, one would select the programming language according how expensive developers were. Nowadays it&#x27;s the quality that an AI can generate. What a wonderful future we&#x27;ve put together. &#x2F;s
      • GaryBluto12 minutes ago
        I&#x27;ve been using Opus 4.6 to make myself a harness for old Macs that uses models offered by the Github Copilot subscription.<p>From my experience, when it creates working Objective-C, it&#x27;s great. When it slips up, it slips up majorly.