Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - HPW

#76
newLISP newS / Re: newLISP in a browser
June 25, 2017, 09:58:46 PM
Hello,



Another note for WIN XP:



Neither Chrome 49 or Firefox ESR 52.2.0 work with WebAssembly.

But the JS-flavour works.



Regards
#77
newLISP newS / Re: newLISP in a browser
June 25, 2017, 01:02:21 AM
Hello,



Another test on an aged WIN 1o Laptop



Core 2 duo P8400 2.26 Ghz 4GB

Windows 10 Pro 1703 32bit



Edga 40 JS



>>>>> total time: 3759

>>>>> Performance ratio: 6.32 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)



Edge 40 WA with enabled experimental javascript



ERR: regular expression in function find-all : "error -4 when executing"

called from user function QA:(qa)

called from user function (module "qa-bench")



So we see that WebAssembly is not yet everywhere. Best performance boost on chrome.



Regards
#78
newLISP newS / Re: newLISP in a browser
June 25, 2017, 12:43:36 AM
Hello,



Thanks Ferry for providing the WebAssembly Option.



From my Win7 tablet (The middle of 3 measurements)



http://ferrydb.nl/newlisp/">http://ferrydb.nl/newlisp/



http://ferrydb.nl/newlisp-wa/">http://ferrydb.nl/newlisp-wa/



Asus Eee Slate

i5 U470 1.33 Ghz 4 Gb

Windows performance Index 3.1





(module "qa-bench")



IE 11.0.9600 JS



>>>>> total time: 41174

>>>>> Performance ratio:67.17 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)



IE 11.0.9600 WA



Not compatibel





Chrome 59.0.3071.109 JS



>>>>> total time: 13724

>>>>> Performance ratio:22.52 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)



Chrome 59.0.3071.109 WA



>>>>> total time: 4920

>>>>> Performance ratio: 8.21 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)





Firefox 54.0 32bit JS



>>>>> total time: 6168

>>>>> Performance ratio:10.24 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)



Firefox 54.0 32bit WA



>>>>> total time: 5862

>>>>> Performance ratio: 9.74 (1.0 on MacOSX 10.9, 2.3GHz Intel Core i5, newLISP v10.6.0-64-bit)



Regards
#79
newLISP newS / Re: newLISP in a browser
June 21, 2017, 11:22:56 PM
Hello Ferry and Lutz,



Thanks for providing the new release.

Works fine on all my firefox/chrome versions and IE11.

On Edge I will test later.



Lutz any new thoughts about the WebAssembly option?



Edit: Latest edge also works fine.



Regards
#80
newLISP newS / Re: newLISP in a browser
June 21, 2017, 03:59:56 AM
Hello fdb,



Good to hear that get it working with latest newlisp version.

Could you upload the resulting js somewhere so others can also test with it. (Until Lutz offer a new one)



(I hope Lutz is thinking about the WebAssembly option)



Regards



Hans-Peter
#81
newLISP newS / Re: newLISP in a browser
March 16, 2017, 05:33:59 AM
Hello Lutz,



Interesting read. Keep us up to date when you have changed your mind.

When it would get widely supported on various platforms, the poor interest may change.

I could imagine to integrate the newlisp-engine for business-rules and data with other web-Standards for GUI and 3D.

Just my 2 Cents. ;-)



Regards
#82
newLISP newS / Re: newLISP in a browser
March 10, 2017, 11:00:10 PM
Hello,



Currently there are News about WebAsembly and Emsripten.



WebAssembly was build into new Firefox 52.



Emsripten has released 1.37.3 (February 21, 2017).



Talk about both:

https://brendaneich.com/2015/06/from-asm-js-to-webassembly/">https://brendaneich.com/2015/06/from-as ... bassembly/">https://brendaneich.com/2015/06/from-asm-js-to-webassembly/


Quote
How: If you use Emscripten, then wasm support via a command-line flag will at first include and target the prototype polyfill. But as native wasm decoders appear in top engines (see the V8 native prototype decoder), Emscripten will auto-configure for best results. Another prototype: a JS AST compressor (encoder).



These prototypes will evolve and track draft specification changes as WebAssembly matures and receives progressively more developer testing. Other compilers than Emscripten, and other compiler frameworks than LLVM, will join the mix. I expect all engines will support fast native decoders. All these parts are means to the end of a common WebAssembly standard.


Not sure if this can be used for a new version of newlisp in a browser.



Regards
#83
Hello,



After testing my upload on my win-tablet, I noticed that I had set the imageDir in the config file to a path on my development-pc. So on the tablet I get an error about button-icon not found.

Since the icon were packed into the app, the tcl code needed to be modified to use the embedded icons.



I upload a new zip with the modification.

set Ide(imageDir) "TclApp"


When this is set in the config, the internal icons are loaded.



Regards
#84
Hello,



I updated the zip with the demo-files and the tcl-editor file.

I also forgot to mention that you will need a TclTK install and the Bwidget toolset for TK to build/wrap your own package. (I have not tested the newest TClTk versions)



Regards
#85
QuoteCan you explain how it works? Is it an exe that combines tcl/tk and newlisp into one binary,


It is a combination of 2 exe. Tcl/tk and the normal newlisp.exe

Both are communicating via TcpIp and are visible in the process list.

Lutz created the newlisptk.tcl file whiich contains everything.

He used freewrap to bind all together to the original Editor enviroment.

When a Tcl package manager is used, you can use it's internal file System.

Newlisp can call tcl-commands and the other way round.



Demo.lsp is only the main file of the original demo by Lutz.

It has a few additional lsp-files for each demo part.

They were bundled with the newlisp Distribution supporting Tk.



I can take a look and grap them together and add it to the zip.



Edit: http://freewrap.sourceforge.net/">http://freewrap.sourceforge.net/



Regards
#86
Hello,



My version from 2011 was posted here:



http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=9&t=3902&p=19367&hilit=newlisptk.zip#p19367">http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=9&t=3902&p=19367&hilit=newlisptk.zip#p19367



However I still run a version with the current newlisp version but build not with freewrap as the 2011 version,

instead I use the TCL basekit 8.5.14 from Active State in 2015.



http://www.hpwsoft.de/anmeldung/html1/newLISP/newlisptk_85.zip">http://www.hpwsoft.de/anmeldung/html1/n ... ptk_85.zip">http://www.hpwsoft.de/anmeldung/html1/newLISP/newlisptk_85.zip



When I remember right there were some problem wtih the browser/edit and debugger subwindows.

Runs the demo.lsp fine.



Regards
#87
newLISP in the real world / file-info on directorys
April 27, 2016, 11:16:35 AM
Hello,



Should file-info return the size of a Directory?

The doc is not clear.

And on windows it does not.


(file-info "C:/Temp")

(0 16895 2 0 0 1457865730 1457865730 1309073923)



Regards
#88
newLISP in the real world / inc non-destruktive
April 21, 2016, 01:06:02 AM
Hello,



I noticed that quoting the symbol makes inc non-destruktive


Quote
> (setq Test 1)

1

> (inc 'Test)

2

> Test

1

> (inc Test)

2

> Test

2


Not documented.



Regards
#89
newLISP newS / Re: newLISP v.10.7.0 Stable Release
January 21, 2016, 11:27:34 AM
Hello Lutz,



Thanks for the ongoing development. Getting better and better.

Also thanks for the spererate UTF-8 version's of the windows-bineries on the download-page

I updated my neobook plugin-zip with the new 10.7 Dll.



Regards
#90
newLISP newS / Re: newLISP in a browser
January 02, 2016, 12:55:20 AM
Found an Explanation for the mem-file:

https://github.com/kripken/emscripten/issues/2537">https://github.com/kripken/emscripten/issues/2537


Quote
.....This is by design, .mem files are created in optimized builds to reduce size and improve startup speed. You can disable them  --memory-init-file 0  if you want, but it is not recommended. When they are emitted, they must be alongside the .js file so it can find it.


Regards