home.social

#objc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #objc, aggregated by home.social.

  1. :mac: 🤘🏻🔻

    #Metal :metal: + #glfw with #cpp code only.
    Had to avoid #objc because my custom build system can't deal with that yet (and I didn't feel like changing that).

    What a pain to get it to compile.

    BUT

    It's using the exact same shader as my #Vulkan :vulkan: #HelloTriangle thanks to #Slang ❤️

    AND

    ```
    $ wc -l src/main.cpp src/shaders/hello_triangle.slang
    134 src/main.cpp
    40 src/shaders/hello_triangle.slang
    164 total 
    ```

  2. (At a later point I'm going to generate bindings for 3 using and then use to integrate libpurple into . But I never said that, because probably it will never happen.)

  3. Eventually (which may be many years ahead) I'm going to have a cross-platform app featuring both a native GTK and native Cocoa (Touch) interfaces.

  4. In case you‘re interested in the state of (which turns out to be my project for learning GObject), I’ve put some notes here: git.nil.im/ObjFW/discussions/i

  5. Folks, I can definitely recommend this talk from @bugaevc at !

    floss.social/@gnome/1148734447

    Sergey has been of great help for my minor stumblings of trying to write bindings for . He's got formidable knowledge und deep insight into especially and Cxx languages in general.

  6. What kind of worries me is the observation that many / projects are in a somewhat abondoned state since the overwhelming use of mobile apps and web services around 2012 to 2014. There are some great exemptions like the support by and all the tools by @linuxmint.

    Same is to apply to the ecosystem which has seen few new projects since 2015 or so.

  7. Thanks go out to @elementary for the most beautiful Linux UI out there.

    And to @js for the most beautiful implementation ever.

  8. @helge @dasdom @[email protected] Interesting talk you‘re having. I don‘t have to make a living from software, but to me it was kinda the same: I like the dev environment, but it did not feel good to invest spare time into that golden cage. That‘s why I‘m writing a GTK wrapper for @objfw and @elementary. You still may write iOS apps using , but at some point you may as well write apps running on a @mntmn.

    If you like to step in, help is appreciated.

  9. I mean, there is an mug as well. 😉 @elementary @objfw

  10. What is the best way to learn #ObjectiveC on Linux?

    At some point in the future I want to get a feel for the language. I'm not so fussed about learning Cocoa and the Foundation framework. I'm more interested in the syntax and structure.

    I need something with a solid set of tutorials, without using a Mac.

    Is #GNUstep the best option? Are there any good tutorials for #ObjFW?

    #ObjC

  11. I keep coming back to #ObjectiveC, but I feel that parts of the way an #ObjC #preprocessor (as it was) builds classes is similar to how #ctran worked/works for #Psion OO C.

    I wonder if looking at ObjC #compiler internals would help me? Something like this:

    alwaysprocessing.blog/2023/01/

    Or, as I keep saying with this project, is it much simpler than I'm trying to make it?

  12. @el_gaucho If you like to create/use the backend in C and (use @objfw), then you will be able to use for the frontend. Either using on Apple devices or using on other Posix devices as soon as I manage to complete it. As long you may want to look at @vala_lang which provides C bindings for many libraries and more if you create VAPIs yourself.

  13. Really need to get back to @elementary at some point. It‘s beauty is a huge motivation to work on @GTK and , also because just feels like it belongs there.

  14. @[email protected] Well of course. 😀 @helge But I really don't want to make a new "Kit" (again). For me it's work enough to create an wrapper for that works, writing pieces that glue stuff together. If others follow the idea to create an API that feels like AppKit or UIKit out of , I'm very fine with it. But I wanna make apps and not maintain a library/framework all the time.
    codeberg.org/ObjGTK/ObjGTKGen