Live data from Hacker News

Pharo 7.0 released

pharo.org

171–180 of 236 posts

Re: Pharo 7.0 released

#172
post #134

Earlier quoted context omitted.

I looked for any useful documentation for a few minutes and just gave up. I don't want to read a book. I don't want to watch a video. This is not my first programming language, thank you. I just want a "hello world" example to get an idea what I am actually dealing with. How do I run a "hello world" program from the command line? How can I deploy that to another machine that doesn't necessarily have a GUI?

> How do I run a "hello world" program from the command line? You can load and run a smalltalk source file, at the OS command-line, something like — ./pharo Pharo.image st helloworld.st You can pre-load smalltalk source files, save a memory image, and use default startup behavior to run the saved bytecode — ./pharo helloworld.image > deploy that to another machine It's just moving files (VM + bytecode image) so — rsy…

> I just want a "hello world" example to get an idea what I am actually dealing with.

iirc something like —

    FileStream stdout nextPutAll: 'Hello, world'; cr.

Re: Pharo 7.0 released

#174
post #171

How does this feel compared to programming in Emacs? (It's an honest question, from someone who'd love to try out Pharo)

I use Emacs, and I played around with Pharo, Squeak, and Cuis. I would go so far as to say the Emacs is an acceptable Smalltalk, but the Smalltalk environment’s defaults are far better. It’s worth playing with it to experience it (see just how good TDD can be)

Re: Pharo 7.0 released

#176
post #173

Earlier quoted context omitted.

I got 1405006117752879898543142606244511569936384000000000 on my command line after running those commands.

Is that what the website home page shows?

You're really intent on splitting those hairs.

Re: Pharo 7.0 released

#177

Earlier quoted context omitted.

You can definitely do GUI programming as the IDE itself is in Smalltalk, but I wouldn't call it super straightforward like using a GUI designer in Visual Studio. I've tried before and got lost in Bloc & Specc?

To be honest, I stopped playing with Pharo around the time when Spec was being designed and beta-tested - I forgot most of it, but I hazily recall that it was a bit too magical for my taste. I hope it got better since then, but I'd have to check. But, about the GUI, I was thinking about Morphic. It's basically a GUI designer on its own: you can create widgets by instantiating their objects in Playground. It doesn't m…

I didn't know you could do that. Any chance there is a video on YouTube showing how to do it?

Re: Pharo 7.0 released

#178
post #136

Earlier quoted context omitted.

Running Pharo (or Cincom Smalltalk or Squeak Smalltalk) on an OS like Windows is similar in many ways to an old Symbolics machine, but Symbolics didn't need to sit on top of an OS, but was lisp all the way down. This existed in the past with Smalltalk as well at Xerox Park where it introduced the GUI and Mouse. I forget the machine's name, but someone on HN rebuilt one recently. The hardware was expensive at the time…

I think you are talking about CuriousMarc's Xerox Alto restoration: https://www.youtube.com/watch?v=YupOC_6bfMI&list=PL-_93BVApb...

Yes the Alto and that restoration!

Re: Pharo 7.0 released

#179

Where does the Pharo runtime run? To which platforms can I bring its solutions? are these standalone binaries or can I create libraries or code which play well with other languages and systems? Every time I look at a programming language, and at the HN it is every second day, I think about what kind of problems can it solve, and for what kind of platforms these compile/run their runtimes.. and surprisingly not many p…

I looked for any useful documentation for a few minutes and just gave up. I don't want to read a book. I don't want to watch a video. This is not my first programming language, thank you. I just want a "hello world" example to get an idea what I am actually dealing with. How do I run a "hello world" program from the command line? How can I deploy that to another machine that doesn't necessarily have a GUI?

Even after you download it, pick Pharo 7, and open it up, the "Explore Pharo" section points you to a page that doesn't work that says it's accurate for version Pharo 5. [0]

I finally found out that the magic invocation was to open up a window by clicking on the background, and navigating to Tools -> Playground, and running `Profstef go.` But they certainly didn't make it easy.

[0] https://ci.inria.fr/pharo-contribution/job/UpdatedPharoByExa...

Re: Pharo 7.0 released

#180

Earlier quoted context omitted.

I have not looked at Pharo, but the Lisp development environment on my Symbolics computers is amazingly integrated, so this is a very high bar to surpass if true.

wait.. You have several Symbolics lisp machines? which ones?

User lispm is all about some lisp and lisp machines...super knowledgeable on the subject. I like to think he has acheived a general purpose AI on his networked Symbolics machines. All jokes aside he/she has posted some great stuff on here and the lisp subreddit.
Post reply on HN