Live data from Hacker News

Pharo 7.0 released

pharo.org

131–140 of 236 posts

Re: Pharo 7.0 released

#131
post #109
post #48

Earlier quoted context omitted.

There's literally a command-line example (although it doesn't print Hello world, but the factorial of 42) on their front page. That said, Smalltalk isn't something you use from the commandline typically, or only during deployment or for applying external automation. The GUI environment is fairly key.

No. The website front page does not show a Pharo program being invoked from the OS command-line and using stdio.

Yes it does. The below is copied from the 'A glimpse of Pharo' section.

""" $ curl https://get.pharo.org | bash $ ./pharo Pharo.image eval "42 factorial" """

Re: Pharo 7.0 released

#132
post #8

What is this thing - is it a programming language or an operating system or a desktop environment?

Yes. (/SmalltalkHumor)

I honestly think this is one of the main barriers to smalltalk being more widely adopted; the meta is almost completely impenetrable to outsiders.

Re: Pharo 7.0 released

#133
post #109
post #48

Earlier quoted context omitted.

There's literally a command-line example (although it doesn't print Hello world, but the factorial of 42) on their front page. That said, Smalltalk isn't something you use from the commandline typically, or only during deployment or for applying external automation. The GUI environment is fairly key.

No. The website front page does not show a Pharo program being invoked from the OS command-line and using stdio.

From the home page, in the A glimpse of Pharo section:

  $ curl https://get.pharo.org | bash 
  $ ./pharo Pharo.image eval "42 factorial"

Re: Pharo 7.0 released

#134

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?

> 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 — rsync, ssh

Re: Pharo 7.0 released

#135
post #109

Earlier quoted context omitted.

No. The website front page does not show a Pharo program being invoked from the OS command-line and using stdio.

From the home page, in the A glimpse of Pharo section: $ curl https://get.pharo.org | bash $ ./pharo Pharo.image eval "42 factorial"

Which apparently does nothing.

Re: Pharo 7.0 released

#136

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.

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...

Re: Pharo 7.0 released

#137
post #128

Earlier quoted context omitted.

But it's entirely missing the point in that you don't use a Smalltalk environment so that you can run some hello world example from the command line.

A simple hello-world command-line example may be used to demonstrate: — How to run a Smalltalk source code file as a script — How to use stdio, How to use file handles — How to load Smalltalk source code from files, save, deploy , and invoke on remote machines Until `virtualized` has seen that basic stuff can be done, why should they care?

But this is about Pharo, which is a Smalltalk environment, which is different from how most programing languages are used. So starting from those kinds of questions is missing the point, when the focus should first be on seeing what makes a Smalltalk environment different.

Re: Pharo 7.0 released

#139
post #72

Earlier quoted context omitted.

Development is entirely via the most integrated GUI you've ever experienced. It runs on MacOS, Windows, and Linux. For deployment, you can run it headless. You can also deploy as Javascript for Node/Browsers via a tool called PharoJS ( http://pharojs.org - full disclosure, I'm one of the principals of PharoJS), but it's a work in progress (with a Slack workspace to support it). GNU Smalltalk can deploy to a standard…

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?

Re: Pharo 7.0 released

#140
post #109

Earlier quoted context omitted.

No. The website front page does not show a Pharo program being invoked from the OS command-line and using stdio.

Yes it does. The below is copied from the 'A glimpse of Pharo' section. """ $ curl https://get.pharo.org | bash $ ./pharo Pharo.image eval "42 factorial" """

Are we to understand that:

— nobody hit the Enter key?

— the program does nothing?

— the program does something but there was no output?

— there was output but not to stdout?

etc etc

Post reply on HN