9front - general discussion about 9front
 help / color / mirror / Atom feed
* Noob questions
@ 2020-06-19 18:56 Alexander Shendi (Web.DE)
  2020-06-19 19:01 ` [9front] " Sigrid Solveig Haflínudóttir
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexander Shendi (Web.DE) @ 2020-06-19 18:56 UTC (permalink / raw)
  To: 9front

Hi,

Upon a whim I have installed the latest release of 9front (PLAN9-HATERS).

I have a few noob questions:

1. I have "ported" EuScheme (a EuLisp Level 0 interpreter) and xlispstat ( a Sunset of Common Lisp with Extensions for statistical computing. Both based more or less on David M. Betz' XLISP. I have put ported in quotes because I have compiled using APE (ape/psh ape/make and ape/pcc). The compilation result runs under 9front w/o APE. It works so far for me. What should I do?
a. Use the stuff for my own purposes and keep quiet.
b. Work on a "proper" port using 8c/6c and mk. Make the plot routines work using graph(1).
c. Shut up, Install Linux or Windows and leave 9front and its users alone.

2. I would like to have a array programming language at my disposal. Currently the most promising candidate is Rob Pike's Ivy. As it is written in Go, the way forward is:
2.1 Install a binary package of Go 1.4.3 or 1.14 (done).
2.2 Bootstrap a version of Go that is aber to compile Ivy from it using the pacjages from step 2.1.

Has anyone else attempted this? I would be grateful for any hints or recomendations.

Many thanks for your help.

All the best,

-- Alexander
--
You have zero privacy anyway. Get over it.

Scott McNealy 1999


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Noob questions
  2020-06-19 18:56 Noob questions Alexander Shendi (Web.DE)
@ 2020-06-19 19:01 ` Sigrid Solveig Haflínudóttir
  2020-06-19 20:40   ` Alexander Shendi (Web.DE)
  2020-06-19 20:03 ` Kurt H Maier
  2020-06-19 20:08 ` ori
  2 siblings, 1 reply; 6+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2020-06-19 19:01 UTC (permalink / raw)
  To: 9front, Alexander Shendi (Web.DE)

>2. I would like to have a array programming language at my disposal.
>Currently the most promising candidate is Rob Pike's Ivy. As it is
>written in Go, the way forward is:
>2.1 Install a binary package of Go 1.4.3 or 1.14 (done).
>2.2 Bootstrap a version of Go that is aber to compile Ivy from it using
>the pacjages from step 2.1.
>

Binary package for Plan 9?
I think you can crosscompile on any OS that already has Go:
GOOS=plan9 GOARCH=amd64 go build




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Noob questions
  2020-06-19 18:56 Noob questions Alexander Shendi (Web.DE)
  2020-06-19 19:01 ` [9front] " Sigrid Solveig Haflínudóttir
@ 2020-06-19 20:03 ` Kurt H Maier
  2020-06-19 20:08 ` ori
  2 siblings, 0 replies; 6+ messages in thread
From: Kurt H Maier @ 2020-06-19 20:03 UTC (permalink / raw)
  To: 9front

On Fri, Jun 19, 2020 at 08:56:29PM +0200, Alexander Shendi (Web.DE) wrote:
> 
> 2. I would like to have a array programming language at my disposal. Currently the most promising candidate is Rob Pike's Ivy. As it is written in Go, the way forward is:

Richard Miller, once upon a time, said he ported J, but I never saw the
code.  Perhaps you might reach out to him and see if he still has it and
would make it available.

khm


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Noob questions
  2020-06-19 18:56 Noob questions Alexander Shendi (Web.DE)
  2020-06-19 19:01 ` [9front] " Sigrid Solveig Haflínudóttir
  2020-06-19 20:03 ` Kurt H Maier
@ 2020-06-19 20:08 ` ori
  2 siblings, 0 replies; 6+ messages in thread
From: ori @ 2020-06-19 20:08 UTC (permalink / raw)
  To: Alexander.Shendi, 9front

> Hi,
> 
> Upon a whim I have installed the latest release of 9front (PLAN9-HATERS).
> 
> I have a few noob questions:
> 
> 1. I have "ported" EuScheme (a EuLisp Level 0 interpreter) and xlispstat ( a
> Sunset of Common Lisp with Extensions for statistical computing. Both based
> more or less on David M. Betz' XLISP. I have put ported in quotes because I
> have compiled using APE (ape/psh ape/make and ape/pcc). The compilation
> result runs under 9front w/o APE. It works so far for me. What should I do?

First, a quick nitpick: APE is really two different things -- it's a set of libraries that
emulate posix on plan 9, and a command line environment (both programs and namespaces) that
emulate a unix shell. Your program still uses ape, just not the shell part of it.

Using APE is an actual port. :)

> a. Use the stuff for my own purposes and keep quiet.

Make it available somewhere (sourcehut is nice this time of year, but any git
provider should work well enough.)

> b. Work on a "proper" port using 8c/6c and mk. Make the plot routines work using graph(1).

Depending on what you want from the port, and what kind of maintenance burden
you want to take on, this may or may not make sense.

The balancing act here is deciding how far to diverge from upstream to integrate
nicely into the environment, vs how much pain you're willing to tolerate keeping
up with upstream.

I usually encorage porters to try to keep the delta with upstream as small as
possible, and send the portability fixes that make sense upstream.

> c. Shut up, Install Linux or Windows and leave 9front and its users alone.
> 
> 2. I would like to have a array programming language at my disposal. Currently the most promising candidate is Rob Pike's Ivy. As it is written in Go, the way forward is:
> 2.1 Install a binary package of Go 1.4.3 or 1.14 (done).
> 2.2 Bootstrap a version of Go that is aber to compile Ivy from it using the pacjages from step 2.1.
> 
> Has anyone else attempted this? I would be grateful for any hints or recomendations.

Yep. It works pretty well.

There's even a ports repository that may help: http://code.9front.org/hg/ports/ 
Note, it's a lot jankier than I'd like, and could use a rewrite.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Noob questions
  2020-06-19 19:01 ` [9front] " Sigrid Solveig Haflínudóttir
@ 2020-06-19 20:40   ` Alexander Shendi (Web.DE)
  2020-06-19 20:56     ` Stanley Lieber
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Shendi (Web.DE) @ 2020-06-19 20:40 UTC (permalink / raw)
  To: 9front, Sigrid Solveig Haflínudóttir; +Cc: Alexander.Shendi



Am 19. Juni 2020 21:01:37 MESZ schrieb "Sigrid Solveig Haflínudóttir" <ftrvxmtrx@gmail.com>:
>>2. I would like to have a array programming language at my disposal.
>>Currently the most promising candidate is Rob Pike's Ivy. As it is
>>written in Go, the way forward is:
>>2.1 Install a binary package of Go 1.4.3 or 1.14 (done).
>>2.2 Bootstrap a version of Go that is aber to compile Ivy from it
>using
>>the pacjages from step 2.1.
>>
>
>Binary package for Plan 9?
>I think you can crosscompile on any OS that already has Go:
>GOOS=plan9 GOARCH=amd64 go build

Thank you for your response.
Well I obtained a binary package (of sorts) from, I think 9legacy.org. I don't know, if it works properly, though. I have just entered go and saw a help message. I also saw this in the FQA: 

NOTE: Go is currently broken on 9front/386. Even 1.4.x versions which used to compile no longer build on 9front/386. 9front/amd64 seems to "work," 1.6.x inclusive. Usual caveats (pending issues) apply.

I guess the way to go is to compile Ivy on OpenBSD as you described and to copy the binary over to 9front.

Many thanks, again,

-- Alexander




--
You have zero privacy anyway. Get over it.

Scott McNealy 1999


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] Noob questions
  2020-06-19 20:40   ` Alexander Shendi (Web.DE)
@ 2020-06-19 20:56     ` Stanley Lieber
  0 siblings, 0 replies; 6+ messages in thread
From: Stanley Lieber @ 2020-06-19 20:56 UTC (permalink / raw)
  To: 9front

On June 19, 2020 4:40:01 PM EDT, "Alexander Shendi (Web.DE)" <Alexander.Shendi@web.de> wrote:
>
>
>Am 19. Juni 2020 21:01:37 MESZ schrieb "Sigrid Solveig Haflínudóttir" <ftrvxmtrx@gmail.com>:
>>>2. I would like to have a array programming language at my disposal.
>>>Currently the most promising candidate is Rob Pike's Ivy. As it is
>>>written in Go, the way forward is:
>>>2.1 Install a binary package of Go 1.4.3 or 1.14 (done).
>>>2.2 Bootstrap a version of Go that is aber to compile Ivy from it
>>using
>>>the pacjages from step 2.1.
>>>
>>
>>Binary package for Plan 9?
>>I think you can crosscompile on any OS that already has Go:
>>GOOS=plan9 GOARCH=amd64 go build
>
>Thank you for your response.
>Well I obtained a binary package (of sorts) from, I think 9legacy.org. I don't know, if it works properly, though. I have just entered go and saw a help message. I also saw this in the FQA: 
>
>NOTE: Go is currently broken on 9front/386. Even 1.4.x versions which used to compile no longer build on 9front/386. 9front/amd64 seems to "work," 1.6.x inclusive. Usual caveats (pending issues) apply.
>
>I guess the way to go is to compile Ivy on OpenBSD as you described and to copy the binary over to 9front.
>
>Many thanks, again,
>
>-- Alexander
>
>
>
>
>--
>You have zero privacy anyway. Get over it.
>
>Scott McNealy 1999

i believe this entry in the fqa is outdated. i haven't tried lately, but i've been told recent go now builds on 386.

sl


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-19 20:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 18:56 Noob questions Alexander Shendi (Web.DE)
2020-06-19 19:01 ` [9front] " Sigrid Solveig Haflínudóttir
2020-06-19 20:40   ` Alexander Shendi (Web.DE)
2020-06-19 20:56     ` Stanley Lieber
2020-06-19 20:03 ` Kurt H Maier
2020-06-19 20:08 ` ori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).