Re: Windows x64 PicoLisp preview
Thanks for your tests and this breakdown compilation of the current state. This should be a page in the wiki. - Original Message - From: Joe Bogner [mailto:joebog...@gmail.com] To: picolisp@software-lab.de Sent: Wed, 17 Aug 2016 12:02:50 -0400 Subject: Re: Windows x64 PicoLisp preview Thanks for the feedback everyone. I resurveyed the options on Windows this morning for PicoLisp 1. pil32 compiled under mingw -- compiles but doesn't work due to issues with reading from stdin -- example (load "lib.l") is read as (load "lib.") . similar failures when invoking from command line 2. pil32 compiled under cygwin - compiles and passes same tests as midipix pil64. However, when running the app/main.l it crashes with "DB read: Bad file descriptor". This has come up before ( https://www.mail-archive.com/picolisp@software-lab.de/msg03430.html) and still seems to be an issue 3. pil64 emu - compiles but fails on (wait) tests... seems to hang indefinitely. Possibly can be fixed with *C-params, but I don't particularly want to run emu 4. pil64 midipix-based preview port [this release] ... runs app/main.l and I can click around and view records. I noticed some instability when editing and will research further 5. pil64 running under windows 10 subsystem - not tested as I don't have windows 10 x64 >From my usage #4 is the best bet it seems
Re: Windows x64 PicoLisp preview
Thanks for the feedback everyone. I resurveyed the options on Windows this morning for PicoLisp 1. pil32 compiled under mingw -- compiles but doesn't work due to issues with reading from stdin -- example (load "lib.l") is read as (load "lib.") .. similar failures when invoking from command line 2. pil32 compiled under cygwin - compiles and passes same tests as midipix pil64. However, when running the app/main.l it crashes with "DB read: Bad file descriptor". This has come up before ( https://www.mail-archive.com/picolisp@software-lab.de/msg03430.html) and still seems to be an issue 3. pil64 emu - compiles but fails on (wait) tests... seems to hang indefinitely. Possibly can be fixed with *C-params, but I don't particularly want to run emu 4. pil64 midipix-based preview port [this release] ... runs app/main.l and I can click around and view records. I noticed some instability when editing and will research further 5. pil64 running under windows 10 subsystem - not tested as I don't have windows 10 x64 >From my usage #4 is the best bet it seems On Wed, Aug 17, 2016 at 9:24 AM,wrote: > Great work Joe! > > As rick said, this will make windows work more bearable and open up > opportunities to deploy picolisp, especially for little scripts and glue > work. > > Many thanks to you, Alex, rick and the awesome guys from midipix :-) > > >
Re: Windows x64 PicoLisp preview
Hi Joe! Thank you for doing this and nice writeup! I will heed your caveats and use it at work. At first for simple things, and then ramp-up the capabilities related to forking and native calls when they come on-line. This is very exciting, especially for someone like me who is literally stuck using Windoze at the office, but wants to show what picolisp can do for colleagues and clients. The picolisp (language/toolage) fight can be won now. The alternative OS/platform fight will take longer. Hehehe. :) Kind regards, --Rick On Wed, 17 Aug 2016 08:13 -0400, Joe Bogner wrote: > I've been working on a port of PicoLisp 64 to Windows. The port is > ready for an early preview for anyone who wants to try it out > > [...] > > The binaries are available at > https://github.com/joebo/picoLisp-win-x86-64/releases/tag/0.02 > > [...] -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Re: Windows x64 PicoLisp preview
This is really good, thank you. On 17/08/16 14:13, Joe Bogner wrote: > I've been working on a port of PicoLisp 64 to Windows. The port is ready > for an early preview for anyone who wants to try it out > > The goal of the initiative is to allow PicoLisp development on Windows. > This may improve efficiency and usage of resources as virtual boxes or > remote shells aren't necessary for those of us on Windows workstations. > We can run PicoLisp 64 natively. Cygwin or flinux[4] is still an option > for 32-bit PicoLisp (src vs src64). PicoLisp 64 has more features and is > faster. It may also bring new users to PicoLisp. > > The binaries are available > at https://github.com/joebo/picoLisp-win-x86-64/releases/tag/0.02 > > Please read the notes on the release page for invocation instructions. > > There are a few known items that aren't working: > > - file locking (fnctl not implemented in midipix yet) > - native (dlopen not implemented in midipix yet) > - instability observed with fork and sockets > > Due to the file locking issue, I would not recommend using it in > production with fork. I expect to have a solution for file locking in > the future. > > The implementation is mostly > in > https://github.com/joebo/picoLisp-win-x86-64/blob/master/src64/arch/win-x86-64.l > or view the commit > history https://github.com/joebo/picoLisp-win-x86-64/commits/master to > see a list of all the changes. Most of the work was in debugging. > > It can be run from cmd.exe using a combination of ntctty and ptycon > (included) which sets up the terminal emulator. It can also be run from > mingw64 with ./picolisp.exe. See notes in win.l or the release notes. > Beware, long path names seem to cause a problem (thanks rick!). > > It's fairly complicated to set up to build from source because it > requires a new toolchain. It requires midipix, http://www.midipix.org, > which is pre-alpha. I plan to document the build steps once midipix is > released. The steps currently require joining the irc channel and asking > for private git access. > > If you clone the github repo, you should be able to generate the > assembly file with cd src64;make x86-64.win - current version > here: > https://github.com/joebo/picoLisp-win-x86-64/releases/download/0.02/win-x86-64.windows.base.s > > Credits: > Thanks to Alex for pil64 and his debugging assistance > Thanks to Rick for testing and encouragement > Thanks to midipix team for a solid cygwin alternative > > > Please reply to the mailing list if you try it out or find it useful! > > Links: > [1] - https://github.com/joebo/picoLisp-win-x86-64/releases/tag/0.02 > [2] - https://github.com/joebo/picoLisp-win-x86-64/ > [3] - http://www.midipix.org/ > [4] - http://picolisp.com/wiki/?flinuxpicolisp (32-bit) -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe