09-02-2017, 06:23 PM
OK finally I have my windows10 up and running (although I can use it mostly one day in the weekend) so I installed alpha 0.9. So first of all: thanks for the work.
Some questions:
(a) is there a source file with all the active commands? Or are those sparsed n several source files? Because on the wiki there are not yet the list of commands
(b) can "syntax error" in the editor report also the line where the error is?
(c) I am not sure if I should ask this on the wiki. Since newRPL may be also a valid calculator on the desktop (although not yet with a straightforward input mode), could be possible to add exra pages to cover newRPL desktop? Also, newRPL desktop would be where the main development work takes place, to then move to the calculator programs well debugged.
(c.1) Aside from (c) when I insert something like "aaaaaaaa" and then I hold "left arrow", the cursor on the desktop moves just once and not multiple times. Is this wanted?
update1:
- oh I fought to get the digraph working, instead it seems that I need to use unicode simbols like « » nice but another point for extra pages clarifying this on the wiki. (this is in the page "contributing to the wiki" but it is not clear that it would work between text fils and desktop version)
update2
1 'var1' STO+ works
'var1' 1 STO+ error
using STO+ to add at the end or at the start of a list is very handy in userRPL so if in newRPL STO+ works also for lists, I would expect it would work in both cases.
update3:
OH MY GOODNESS!!!!
executes in 2.826 seconds on newRPL 0.9 desktop using one core of an AMD A10-9600P (3 ghz max, 4 cores)
powershell on the same system (win10 pro)
IMPRESSIVE! Sure, powershell is an hell of a language with billions of libraries and newRPL is not so usable yet, but it is improving a lot. Having such a performance gap (~ 15 times faster than a official microsoft language for the OS itself) is impressive. Another point, in my opinion, to push newRPL also as math platform on the desktop.
Side note: still impressive, gawk on cygwin 2.5.2 on a pentium M 1.73ghz (winXP) needs 2.4 seconds to do the same task. Impressive because gawk is interpreted and cygwin is not "that" native in winXP as microsoft tools themselves. Plus the relatively slower CPU (actually it may be not that slower for a single core comparison).
Some questions:
(a) is there a source file with all the active commands? Or are those sparsed n several source files? Because on the wiki there are not yet the list of commands
(b) can "syntax error" in the editor report also the line where the error is?
(c) I am not sure if I should ask this on the wiki. Since newRPL may be also a valid calculator on the desktop (although not yet with a straightforward input mode), could be possible to add exra pages to cover newRPL desktop? Also, newRPL desktop would be where the main development work takes place, to then move to the calculator programs well debugged.
(c.1) Aside from (c) when I insert something like "aaaaaaaa" and then I hold "left arrow", the cursor on the desktop moves just once and not multiple times. Is this wanted?
update1:
- oh I fought to get the digraph working, instead it seems that I need to use unicode simbols like « » nice but another point for extra pages clarifying this on the wiki. (this is in the page "contributing to the wiki" but it is not clear that it would work between text fils and desktop version)
update2
1 'var1' STO+ works
'var1' 1 STO+ error
using STO+ to add at the end or at the start of a list is very handy in userRPL so if in newRPL STO+ works also for lists, I would expect it would work in both cases.
update3:
OH MY GOODNESS!!!!
Code:
«
@it seems that in newRPL there are no digraphs.
0
→
result
«
TICKS
1 10 7 ^
START
1 'result' STO+
NEXT
TICKS SWAP - 10 6 ^ /
result
»
»
executes in 2.826 seconds on newRPL 0.9 desktop using one core of an AMD A10-9600P (3 ghz max, 4 cores)
powershell on the same system (win10 pro)
Code:
PS C:\Users\pier> $host
Name : ConsoleHost
Version : 5.1.14393.1532
InstanceId : ba2f3fea-0ae5-40f9-8642-89ac13ab42ac
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture : de-DE
CurrentUICulture : de-DE
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace
PS C:\Windows\system32> $r=0 ; for($i = 0; $i -lt 10000000 ; $i++ ) { $r++ }; $r
10000000
PS C:\Windows\system32> Measure-Command { $r=0 ; for($i = 0; $i -lt (10*1000*1000) ; $i++ ) { $r++ }; $r }
Days : 0
Hours : 0
Minutes : 0
Seconds : 30
Milliseconds : 846
Ticks : 308469450
TotalDays : 0,000357024826388889
TotalHours : 0,00856859583333333
TotalMinutes : 0,51411575
TotalSeconds : 30,846945
TotalMilliseconds : 30846,945
IMPRESSIVE! Sure, powershell is an hell of a language with billions of libraries and newRPL is not so usable yet, but it is improving a lot. Having such a performance gap (~ 15 times faster than a official microsoft language for the OS itself) is impressive. Another point, in my opinion, to push newRPL also as math platform on the desktop.
Side note: still impressive, gawk on cygwin 2.5.2 on a pentium M 1.73ghz (winXP) needs 2.4 seconds to do the same task. Impressive because gawk is interpreted and cygwin is not "that" native in winXP as microsoft tools themselves. Plus the relatively slower CPU (actually it may be not that slower for a single core comparison).