Recent Posts

Pages: [1] 2 3 ... 10
1
General Discussion / Re: Some changes coming in 17.03...
« Last post by ron on Yesterday at 10:13:42 »
I just tested a version where 'pool-size' is a no-op vs. one where it pre-allocates N items.  There was no noticeable performance difference overall, despite trying to force bad results.

The reason there's no performance difference is that in the first case, the allocation cost is amortized over the entire run-time, while in the second case it happens up-front. 

It should not make any difference in practical terms in any event.  So 'pool-size' will be deprecated, since it will be a no-op
2
General Discussion / Re: Alternate graphics engines
« Last post by ron on Yesterday at 09:37:02 »
Ah, ok.  Let us know what interesting things you find.
3
General Discussion / Re: it seems [] is different from ns:a new
« Last post by ron on Yesterday at 09:28:07 »
Fixed for 17.03
4
General Discussion / Re: Alternate graphics engines
« Last post by bugmagnet on Yesterday at 07:28:16 »
No. I frequent OpenEuphoria (and other minority languages). I have since downloaded Graphfruit JUCE just to see what it's about.

Bruce/bugmagnet
5
General Discussion / Re: Alternate graphics engines
« Last post by ron on Yesterday at 05:08:57 »
Not really.  First, it requires SDL and a bunch of other things.  I don't see where it would be advantageous over JUCE.  Did you have a particular reason for suggesting it?
6
General Discussion / Alternate graphics engines
« Last post by bugmagnet on Yesterday at 03:44:43 »
LÖVE purports to be "an *awesome* framework you can use to make 2D games in Lua. It's free, open-source, and works on Windows, Mac OS X, Linux, Android and iOS" and some enterprising lad over in the OpenEuphoria site is trying to use it with their language. Is it feasible for 8th?
7
General Discussion / Re: it seems [] is different from ns:a new
« Last post by ron on March 23, 2017, 19:00:57 »
Thanks for discovering a bug :)
Can you please log it in the bug database?

For now, you can do "[] clone nip" or "ns:a new" to get the same effect.
8
General Discussion / it seems [] is different from ns:a new
« Last post by chengjianwen on March 23, 2017, 18:41:28 »
Code: [Select]
  [1751477356,1865185135,1919706145]
  (
    ns:a new swap
    repeat
      85 n:/mod
      -rot 33 n:+ a:slide swap
    while drop
  ) a:map
result: [[66,79,117,33,114],[68,95,45,42,78],[69,98,111,56,48]]
if I use [] to new a array, the result is different.
Code: [Select]
  [1751477356,1865185135,1919706145]
  (
    [] swap
    repeat
      85 n:/mod
      -rot 33 n:+ a:slide swap
    while drop
  ) a:map
result: [[69,98,111,56,48,68,95,45,42,78,66,79,117,33,114],[69,98,111,56,48,68,95,45,42,78,66,79,117,33,114],[69,98,111,56,48,68,95,45,42,78,66,79,117,33,114]]
9
Android / Re: gui filebrowser on android
« Last post by ron on March 23, 2017, 15:19:01 »
Hmm.  It works for me.

If you put a log statement in the 'file-clicked' word to see what it's getting, you can see that the proper file name is given.

The reason you get a 'null' sometimes is because f:open won't open a directory.  I successfully opened a regular text file (test.txt) which I'd put in the Download folder on my Android device.
10
General Discussion / Re: Some changes coming in 17.03...
« Last post by ron on March 23, 2017, 04:39:50 »
I suppose I could make "pool-size" pre-allocate N items and put them on the free list...
Pages: [1] 2 3 ... 10