TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Objective-Smalltalk

68 pointsby jcla1over 11 years ago

15 comments

rtpgover 11 years ago
Are there any smalltalk fans out here that can point out to the unenlightened the "interesting" aspects of Smalltalk? It seems to have quite the following.
评论 #7161841 未加载
评论 #7161865 未加载
mseepgoodover 11 years ago
What's next? "Functional lambda calculus"?
评论 #7161694 未加载
评论 #7163009 未加载
评论 #7161743 未加载
评论 #7162482 未加载
stefanuover 11 years ago
StepTalk is another Smalltalk-ObjectiveC legacy framework, originally meant for Smalltalk-like scripting of ObjectiveC apps&#x2F;tools. It was built for GNUstep but worked on early versions of Cocoa as well: <a href="https://github.com/stiivi/StepTalk" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stiivi&#x2F;StepTalk</a>. It is no longer maintained, therefore it might need a little bit of refreshment.<p>It is light-weight SmallTalk interpreter on top of ObjectiveC objects. See the examples for better idea of what it does: <a href="https://github.com/Stiivi/StepTalk/tree/master/Examples" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Stiivi&#x2F;StepTalk&#x2F;tree&#x2F;master&#x2F;Examples</a>
评论 #7162401 未加载
LinaLauneBaerover 11 years ago
The given example for HOM is a bit unfair. From their docs:<p><pre><code> for ( NSView *aView in [[self view] subviews] ) { [aView setNeedsDisplay]; } </code></pre> They use this as an example to show that Objective-C is bad. However you can rewrite that with:<p><pre><code> [self.view.subviews makeObjectsPerformSelector:@selector(setNeedsDisplay)]; </code></pre> That being said: I think that Objective-C could move faster as a language. We have seen Apple to speed up the development of Objective-C during the last few years and I think that Apple will move even faster in the future.
评论 #7162335 未加载
weddprosover 11 years ago
As a long time Smalltalk lover, I can only UP this project ! I&#x27;ll have no use for it immediately, but it&#x27;s good to know where it can be found.
protomythover 11 years ago
F-Script is another project that brings Smalltalk syntax (with extensions) to OS X. It has active forks and some neat array processing.
pjmlpover 11 years ago
Project Etoile offers something similar, Pragmatic Smalltalk<p><a href="http://etoileos.com/etoile/features/languagekit/" rel="nofollow">http:&#x2F;&#x2F;etoileos.com&#x2F;etoile&#x2F;features&#x2F;languagekit&#x2F;</a>
评论 #7164140 未加载
评论 #7162384 未加载
eonilover 11 years ago
Interesting.<p>I had a quick look, but I don&#x27;t see any mention about memory management. Because it must have <i>fully deterministic realtime aware architecture</i> to replace or complement Objective-C, and memory management strategy is one of the most important stuff. If it&#x27;s based on typical (non-deterministic) GC, then it won&#x27;t be that much interesting anymore.<p>Also, I think using `&lt;-` instead of `:=` would be better for a new Smalltalk dialect. With proper editor support, the arrow sign will look far better then colon-equal sign.
评论 #7162535 未加载
coldcodeover 11 years ago
As an iOS programmer and long time Objective-C fan, I like the direction it is going. How is the memory management done? Since ARC is basically done by the compiler I wonder if that can be leveraged?
评论 #7162457 未加载
sebastianconcptover 11 years ago
So Objective-C with an unpolluted syntax. That could be nice!
评论 #7161763 未加载
kilonover 11 years ago
what makes me skeptical is this &quot;Generic raw pointers are not supported&quot;. The goal of C type languages are to offer performance not ease of use. So if that means loss of performance kinda defends the purpose. And if I want ease of use I rather use Pharo . But I support the effort, and I am certainly very interested to see what will come out of this :)
评论 #7162451 未加载
评论 #7162164 未加载
gressover 11 years ago
Fantastic! The only question is, will Apple be able to evolve Objective-C faster than this can be made into a production ready tool?
评论 #7162486 未加载
e12eover 11 years ago
Interesting. Does this support&#x2F;run on&#x2F;with alternative platforms like gnustep, or does it require os x for development and only target ios&#x2F;osx? Would it be feasible to port?
steschover 11 years ago
See the last time this was discussed on Hacker News: <a href="https://news.ycombinator.com/item?id=6917740" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6917740</a>
评论 #7162022 未加载
erikjover 11 years ago
Is it dynamic language like Smalltalk-80?