by kilon · 11y ago · 0 comments
No it does not , but there is no need. Pharo can be distributed with your application and it does need to installed its a standalone.
"or does it require an interpreter or VM at runtime?"
its interpreted to byte code and it has a JIT VM. It is always runtime ;) Meaning everything is live and running even your source code. Compilation happens under the hood without the user being aware of it.
"Can applications be built from command-line (or a build script on a CI server), or is it tightly coupled with the IDE?"
There is a command line interface , also any method can be exported to command line and Pharo can run without a GUI.
"The Wikipedia article mentions some web frameworks, but the Pharo website shows screenshots of what appear to be desktop GUI applications (or maybe data visualizations running inside the IDE, a la R with RStudio?)."
There is a web framework which quite popular and actively developed Seaside that allow you to use javascript , html and the usual suspect. Plenty of others frameworks exists as well but not so actively developed. Most success stories in the web site use those frameworks.
"Maybe someone with some hands-on experience could provide a TL;DR, for those who aren't willing to read the full book just to get a high-level sense of this?"
you can also drop in IRC for general directions, and ask questions to the mailing list, the community is very welcomed for newcomers. But give pharo a try and ask questions and you wont regret it Pharo is a great way and fun way to create software.
I have made also video tutorial for newcomers
https://www.youtube.com/watch?v=Ol5ivaEATLQ&list=PLqbtQ7OkSt...
I have also made this simple guide to explain what Pharo really is
Mainstream will kill Pharo in an instant. Pharo is too cool and too well designed for mainstream. Pharo also is going towards a complete opposite direction of sacrificing features over ease of usage.
So in the end Pharo is not designed for the mainstream developer its designed for the developer that looks for something radical diffirent.
But diffirence comes with a cost, it means that you get out your comfort zone, explaining basic concepts takes much more time and effort because of lack of familiarity etc etc.
So if you dont understand Pharo at first try, thats not a bug thats a feature. If you do understand Pharo at second try that's a bug.
Some people refer to pharo as "the red pill" of coding, taking the red pill has its advantages but also significant disadvantages. The choice in the end is yours.
Sure documentation and website can be improved but it wont solve the problem that Pharo is outside mainstream way of doing coding because this is what makes Pharo so fun to work with :)
And people wonder why the Smalltalk community has such a bad reputation.
If yes then I hope Pharo keeps bringing a lot more of this "bad reputation" I find it very useful and productive. Frankly I wish I was aware of this "bad reputation" 25 years ago, would have saved me a lot of trouble learning all these languages which just recycle the same old things slightly modified. Unfortunately I converted to Squeak and then Pharo , a couple years ago. But better late than never :)
By the way you do not need to be a "snob" Smalltalker to be upset about mainstream's software disregard of good designs. There are endless posts on C++ design, Java design, Javascript design , Eclipse design , Visual Studio design, the horror of MFC, the horrors of web development, the horrors of android development and so much more.
The Pharo community needs to knock it off, with that kind of arguments. (And I say that, being a part of that community).
Pharo is NOT too cool and too well designed for the mainstream. :( It /is/ cool, and has a lot of good work put into it. But it still needs a lot more work (especially in documentation and tutorials) before it's really useable by people without extensive Smalltalk experience. So, everybody shut up and roll up your sleeves and work. And be humble.
Like calling it "the" red pill is overselling it I mean.
It's "a" red pill.
You could argue that some language like Lisp requires the same, but the problem is that Lisp is just a language, Pharo is a lot more than that.
So for me, Pharo is the only "red pill" I can think of. Not because its diffirent but because is so fundamentally diffirent. Everything else is just blue pills with some red spots here and there. Thus I cant call Pharo , "a" red pill.
But if you have something else that is as diffirent as Pharo is I am mostly welcome the info , love to try fresh approaches to coding :)
Another thing to note here is that I dont use the term "red pill" to identify it as something superior. Its not superior , far from it , it come with its own problems and weaknesses. Pharo is neither a paradise or a utopia.
Pharo is not for everyone but for specific people looking for a very diffirent way of coding. But even they may not like Pharo.
In the end Pharo is another way of doing coding, it wont make you sexy with the ladies or turn you into a super coder.
You're probably referring to the fact that there's an option to deploy the hello world PLUS the VM it runs on, in a single package. That's like saying "You can't give a Java hello world to someone under 50 MB". Yes, technically true, the couple of lines of Hello World source code don't work without a 50 MB JRE. But you're being disingenuous.
For people that know Smalltalk, "a Smalltalk environment" contains more information than "an IDE, OS rolled into one" (which you also could possibly apply as a description to some javascript environments or a whole number of other things that could exist, it is not like Smalltalk is the only way to build such an environment)
https://www.youtube.com/watch?v=n2WNYDtO0cE&list=PLqbtQ7OkSt...
Of course, arbitrary code could be exported in text files from the "binary image" file (even if that required code to be de-compiled from bytecode to text).