Live data from Hacker News

The Objective-C Runtime and Swift Dynamism

academy.realm.io

1–10 of 41 posts

Re: The Objective-C Runtime and Swift Dynamism

#2
I'm getting the loading error, "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details."

Not sure if there is a mirror, a write-up, or another example anyone might be able to pass along.

edit: this google cache version is working[0].

[0] https://webcache.googleusercontent.com/search?q=cache:gXiqzW...

Re: The Objective-C Runtime and Swift Dynamism

#3

I'm getting the loading error, "An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details." Not sure if there is a mirror, a write-up, or another example anyone might be able to pass along. edit: this google cache version is working[0]. [0] https://webcache.googleusercontent.com/search?q=cache:gXiqzW...

You can watch the talk with google cache. It’s from 2016.

Basically, Swift dynamism is coming, hopefully safer than ObjC

Re: The Objective-C Runtime and Swift Dynamism

#7
I still like Objective-C even if it isn't my go-to language anymore. It's quite elegant compared to it's peers from the 80's, it's a very small language yet you can achieve everything with it, even if it means dipping into C(++) for the parts that need to be really performant. But on the other hand seeing a different programming language when there's some optimization going on and having another programming language for business logic is a great thing too.

How many times don't we see bugs, errors or security issues stemming from the fact that business logic gets implemented in C?

Re: The Objective-C Runtime and Swift Dynamism

#8
>"Before we start, Objective-C is a runtime-oriented language, which means that all of the links between your methods and variables and classes are deferred to the last moment possible to when your app is actually running, ..."

I had not heard the term "runtime-oriented language" before. Is this really just another term for "supports reflection"? If not what would be other examples of "runtime-oriented" languages?

Re: The Objective-C Runtime and Swift Dynamism

#9
post #8

>"Before we start, Objective-C is a runtime-oriented language, which means that all of the links between your methods and variables and classes are deferred to the last moment possible to when your app is actually running, ..." I had not heard the term "runtime-oriented language" before. Is this really just another term for "supports reflection"? If not what would be other examples of "runtime-oriented" languages?

I think it means "dynamic," in the sense that when you call a method, the object's class is looked up and the class's method list is looked up and the methods' implementations are looked up and the class is even given a chance to handle the lookup itself. It doesn't just support reflection, it reflects pervasively. This basically corresponds to what we usually mean when we say a "dynamic language."

Re: The Objective-C Runtime and Swift Dynamism

#10
post #8

>"Before we start, Objective-C is a runtime-oriented language, which means that all of the links between your methods and variables and classes are deferred to the last moment possible to when your app is actually running, ..." I had not heard the term "runtime-oriented language" before. Is this really just another term for "supports reflection"? If not what would be other examples of "runtime-oriented" languages?

Smalltalk
Post reply on HN