Search found 733 matches

by pjot
Thu Jun 10, 2010 6:07 am
Forum: newLISP in the real world
Topic: Getting my current function name
Replies: 10
Views: 3816

Re: Getting my current function name

Well I found another way of solving my issue without the need for a 'SELF and never asked further...

Peter
by pjot
Sun Aug 02, 2009 4:09 pm
Forum: newLISP newS
Topic: Maintenance Release newLISP v.10.1.1
Replies: 24
Views: 12089

No, just checking how the generated Makefile looks like. It is an old habit of me to use 'vim' for every tiny task. My bad.

Peter
by pjot
Sun Aug 02, 2009 11:03 am
Forum: newLISP newS
Topic: Maintenance Release newLISP v.10.1.1
Replies: 24
Views: 12089

Can you try using configure-alt, and then type make? This 'configure-alt' works fine. peter@solarstriker:~/installation/newlisp-10.1.1$ ./configure-alt Detected Operating System LINUX Detected memory model LP64, using memory model LP64 UTF-8 is enabled readline support is disabled To enable readlin...
by pjot
Sat Aug 01, 2009 7:13 pm
Forum: newLISP newS
Topic: Maintenance Release newLISP v.10.1.1
Replies: 24
Views: 12089

The only thing you have to do is removing all '-m32' entries.

Peter
by pjot
Sat Aug 01, 2009 6:27 pm
Forum: Whither newLISP?
Topic: Benchmarking
Replies: 23
Views: 12474

With the 64bit newLisp
newLISP v.10.1.1 64-bit on Linux IPv4, execute 'newlisp -h' for more info.
my computer gets this result:
1124 ms on a 2.2Ghz AMD Phenom(tm) 9550 Quad-Core Processor
performance ratio: 0.5 (1.0 on Mac OS X, 1.83 GHz Intel Core 2 Duo)
by pjot
Sat Aug 01, 2009 6:07 pm
Forum: newLISP newS
Topic: Maintenance Release newLISP v.10.1.1
Replies: 24
Views: 12089

The Makefile for 64bit Linux 'makefile_linuxLP64' seems to have a problem... below an changed version so it works with my 64bit Ubuntu 9.04 Linux. # makefile for newLISP 64bit v.10.x.x on 64 bit LINUX tested on Intel Core Duo 2 # # Note, that readline support may require different libraries on diffe...
by pjot
Fri Jul 31, 2009 5:37 pm
Forum: Whither newLISP?
Topic: Benchmarking
Replies: 23
Views: 12474

If this is compiled Basic, then it looks pretty good for newLISP. It is compiled BASIC all right and indeed, newLisp runs very well!! But still comparing compiled vs dynamic languages is comparing apples and oranges. In this case, I am particularly interested in newLisp versus any compiled language...
by pjot
Fri Jul 31, 2009 1:47 pm
Forum: Whither newLISP?
Topic: Benchmarking
Replies: 23
Views: 12474

So let me give an example. This compiled BASIC program runs for 10 seconds adding 0.0001 to a variable. DECLARE t TYPE double t = 0 start = SECOND(NOW) end = start + 10 WHILE SECOND(NOW) NE end DO t = t + 0.0001 WEND PRINT "Result is: ", t END Now, the equivalent of such a BASIC program in newLisp i...
by pjot
Fri Jul 31, 2009 1:26 pm
Forum: Whither newLISP?
Topic: Benchmarking
Replies: 23
Views: 12474

Go tease some sheep, you compleat fan! ;-) But the idea is not so difficult? Suppose we check the (add) statement. Let's run a newLisp program continuously adding 0.1 starting from 0, and let's run that program for 5 minutes. Now, let's do the same thing in another language. After those 5 minutes, w...
by pjot
Fri Jul 31, 2009 12:56 pm
Forum: Whither newLISP?
Topic: Benchmarking
Replies: 23
Views: 12474

And you change the hardware it is running on, or only the OS and it puts the results on its head. I am running all benchmarks on the same system in the same OS. Running this under Linux on the same CPU completely changes the picture. Some functions suddenly perform double as fast or slow. Good rema...
by pjot
Thu Jul 30, 2009 9:22 am
Forum: Whither newLISP?
Topic: Benchmarking
Replies: 23
Views: 12474

OK my question was not specific enough. :-)

So let me rephrase: what would be the best portable code, if possible a one-liner, to benchmark the performance of newLisp?

The idea is to compare the performance of newLisp with other languages.
by pjot
Thu Jul 30, 2009 9:02 am
Forum: Whither newLISP?
Topic: Benchmarking
Replies: 23
Views: 12474

Benchmarking

newLisp guru's,

What would be the best code, if possible one-liner, to benchmark the performance of newLisp?

Greetings
Peter
by pjot
Wed Jul 29, 2009 6:20 pm
Forum: Whither newLISP?
Topic: newlisp and the C++ revolution
Replies: 13
Views: 7760

OK. Now let's do the same in newLisp:

Code: Select all

(println "Hello, world!")
Looks less code to me... ;-)
by pjot
Mon Jul 27, 2009 6:01 pm
Forum: newLISP Graphics & Sound
Topic: again GTK
Replies: 13
Views: 11483

I'm surprised there is no Debian or Ubuntu package for gtk-server. Well, me too ;-) But I have access to Ubuntu nowadays, I can make a package if you like. For newLisp this is not needed anymore, because with GTK2 you can import the functions on the fly. Not sure if it works for all functions thoug...
by pjot
Tue Jul 21, 2009 9:26 pm
Forum: Whither newLISP?
Topic: newlisp and the C++ revolution
Replies: 13
Views: 7760

Well the answer maybe here: http://www.isotton.com/devel/docs/C++-dlopen-mini-HOWTO/C++-dlopen-mini-HOWTO.html It is a lot of work though, adding 'EXTERN C' to your relevant functions ;-) Well crap, C++ is kind of a hype anyway. For small applications you're looking at, it's really useless. Do you k...
by pjot
Mon Apr 06, 2009 1:10 pm
Forum: newLISP newS
Topic: Kenwood
Replies: 7
Views: 5583

Annoying. Please let me know if I can help.

You didn't leave the door open...?

Peter
by pjot
Wed Jan 14, 2009 8:16 am
Forum: newLISP newS
Topic: Import libraries to use with classes?
Replies: 2
Views: 2350

If you are talking about libraries created with C++, then this is impossible.

http://www.isotton.com/devel/docs/C++-d ... HOWTO.html

Except when the C++ source uses 'extern C'. But then you have to be lucky!

Regards
by pjot
Fri Jan 09, 2009 4:27 pm
Forum: newLISP in the real world
Topic: vim, ctags and taglist stuff
Replies: 6
Views: 3262

Hm, the /tmp probably is from VIM, it always tries to store some hidden file to keep track of the changes. Funny about the "< NAME" change, because it used to be like that; just recently I changed it to "< name" with small letters! Maybe it should search both capital and small. Thanks for your feedb...
by pjot
Fri Jan 09, 2009 8:13 am
Forum: newLISP in the real world
Topic: vim, ctags and taglist stuff
Replies: 6
Views: 3262

I like your help function, but I couldn't get it to work! What platform are you using? For me it works in MacOSX and Linux. As I do not have Win32 it may fail in there. Also, the online help only prints the first 1000 characters or until the next keyword, whatever comes first. Anyway I'll check you...
by pjot
Thu Jan 08, 2009 1:49 pm
Forum: newLISP newS
Topic: Close NewLisp console window
Replies: 12
Views: 7876

You can also compile your newLisp interpreter with the '-mwindows' compile option. Then there will be no DOS box.

So in 'makefile_mingw' add this to the CFLAGS line:

CFLAGS = -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 -mwindows

But it's a Win32 problem only, of course.

Regards
by pjot
Thu Jan 08, 2009 11:35 am
Forum: newLISP Graphics & Sound
Topic: TreeView and table
Replies: 7
Views: 8135

Oops my bad, that should be libglib-2.0-0.dll.

So: (import "libglib-2.0-0.dll" "g_malloc").

I updated the program, can you check again?

Regards
by pjot
Wed Jan 07, 2009 10:33 pm
Forum: newLISP Graphics & Sound
Topic: TreeView and table
Replies: 7
Views: 8135

Yes, good news: tables and treeviews are really easy in GTK... ;-)

Image

The code is here:

http://www.turtle.dds.nl/newlisp/tables.lsp

Should run on MacOSX, Unix/Linux/BSD and Win32.

Peter
by pjot
Wed Jan 07, 2009 9:28 pm
Forum: newLISP in the real world
Topic: vim, ctags and taglist stuff
Replies: 6
Views: 3262

Great idea, thanks!

BTW I have written some macros for newLisp and VIM, including an online help. You can find it here:

http://www.turtle.dds.nl/newlisp/#vim

Regards
Peter
by pjot
Wed Jan 07, 2009 5:58 pm
Forum: newLISP and the O.S.
Topic: GTK2 has been ported to MacOS X
Replies: 9
Views: 7102

For those of you who are still not convinced, a newLisp program directly with GTK.

Should run on MacOSX, Linux/Unix and Win32 without changes.

Image

The code is here:

http://www.turtle.dds.nl/newlisp/fractal.lsp


Regards
Peter
by pjot
Tue Jan 06, 2009 8:02 pm
Forum: newLISP newS
Topic: http://www.osnews.com/ looks at newlisp
Replies: 2
Views: 2362

Well I can shed some light on this. The other day (january 1) somebody contacted me with problems on the FreeGLUT stuff. I replied that I did not had time yet to update it to newLisp10; from his mail I could see things went wrong with (nth-set), which is obsolete with newLisp10. In the meantime I ha...