Post AhQJMCs2KzueT7Pfge by alexshendi@rollenspiel.social
(DIR) More posts by alexshendi@rollenspiel.social
(DIR) Post #AhQH8mW8o5xn3xdsga by thelastpsion@bitbang.social
2024-04-30T18:57:39Z
0 likes, 0 repeats
Random thought: Objective-Zig.Discuss. #ObjC #ObjectiveC #Zig #ZigLang
(DIR) Post #AhQHT3f8lt381sWJjE by profoundlynerdy@bitbang.social
2024-04-30T19:01:17Z
0 likes, 0 repeats
@thelastpsion I'm passingly familiar with Zig but not Objective C, what would that look like in practice?
(DIR) Post #AhQJMCs2KzueT7Pfge by alexshendi@rollenspiel.social
2024-04-30T19:22:27Z
0 likes, 0 repeats
@thelastpsion printNl Discuss: #Smalltalk
(DIR) Post #AhQK5Uhqs6EKogFBey by thelastpsion@bitbang.social
2024-04-30T19:30:38Z
0 likes, 0 repeats
@profoundlynerdy Right now I'm not sure. I was watching Low Level Learning talking about Zig and it crossed my mind. Equivalent of a shower thought.I wondered if it would work for older operating systems with Smalltalk-style OO (e.g. NEXTSTEP, EPOC16), as something more modern/safe than C, but including the extended syntax from ObjC for classes and passing messages. Also, something not (in my highly uneducated opinion) as heavy, or with as steep a learning curve, as Rust.
(DIR) Post #AhQKAI33MSf50RRoRM by thelastpsion@bitbang.social
2024-04-30T19:31:33Z
0 likes, 0 repeats
@alexshendi Consider my original post updated! 😊
(DIR) Post #AhRdSKqOiXFdWMh0Vs by JonathanGerlach@mastodon.social
2024-05-01T10:42:24Z
0 likes, 0 repeats
@thelastpsion This is what people are talking about when they talk about “Objective-C without the C”. Replace the C with zig. Modernize the high-level (Objective) part. Replace the “toll-free bridging” abstraction with a more modern zero runtime cost abstraction. What is a modern replacement for the high level parts? I’m sure everyone has their own ideas.