Search found 62 matches

by Skipper
Thu Oct 30, 2025 1:43 pm
Forum: Feature Requests and Wishlists
Topic: Get access to C-backend compiler switches?
Replies: 4
Views: 1964

Re: Get access to C-backend compiler switches?


would be handy, you could also use pragma to some extent, like if you want to optimize a function or ignore a warning

you can test if it works like this
!#pragma optimize ("-O3");
procedure foo()

or to unroll a loop
!#pragma ivdep;
While(r > #size)


Thanks for pointing this out. Would it ...
by Skipper
Thu Oct 30, 2025 1:37 pm
Forum: Tricks 'n' Tips
Topic: Vector Curve Designer (RAD Tool)
Replies: 101
Views: 42334

Re: Vector Curve Designer (RAD Tool)

netmaestro wrote: Tue Oct 14, 2025 7:10 pm Is anyone actually using this? I ask because I'm considering a modification or two and if nobody is really using it I can skip it.
I do, gladly so. Thanks for publishing your code ! :D
by Skipper
Mon Oct 27, 2025 1:14 pm
Forum: Tricks 'n' Tips
Topic: Animated Vector Graphics Scene Graph
Replies: 73
Views: 7944

Re: Animated Vector Graphics Scene Graph

pf shadoko wrote: Mon Oct 27, 2025 10:25 am We will now need to adapt NanoSVG to PB to get the most out of SVG animations.

Any candidates?
Exactly my thinking as well, as this is more and more moving towards OpenVG functionality.
by Skipper
Fri Sep 26, 2025 1:27 pm
Forum: Coding Questions
Topic: Best approach to create a syntax reader for a code converter?
Replies: 15
Views: 1677

Re: Best approach to create a syntax reader for a code converter?


..... I had help from Skipper with the tokenizer and I managed to replicate it, but the Parser and lexer analyzer part is the worst xD


Likely I did not help @Skinkairewalker all that much. I just provided a binary of an Eiffel-tokenizer I'm implementing with Purebasic, and some Eiffel source ...
by Skipper
Tue Sep 16, 2025 10:15 am
Forum: 3D Programming
Topic: Black Hole simulation at the approximation
Replies: 14
Views: 1718

Re: Black Hole simulation at the approximation

threedslider wrote: Sat Sep 13, 2025 5:48 pm
Skipper wrote: Sat Sep 13, 2025 4:33 pm Same here, on OSX x64
Now it works for you ?

It does now, thanks!
by Skipper
Sat Sep 13, 2025 4:33 pm
Forum: 3D Programming
Topic: Black Hole simulation at the approximation
Replies: 14
Views: 1718

Re: Black Hole simulation at the approximation

Same here, on OSX x64
by Skipper
Thu Sep 04, 2025 5:50 pm
Forum: Tricks 'n' Tips
Topic: Subscriber/Observer Pattern
Replies: 6
Views: 1677

Re: Subscriber/Observer Pattern

Hi Phollyer,

For code like this it would have been nice to have generics...

Thanks for posting!

Cheers,
Skipper
by Skipper
Thu Sep 04, 2025 10:33 am
Forum: Feature Requests and Wishlists
Topic: Get access to C-backend compiler switches?
Replies: 4
Views: 1964

Get access to C-backend compiler switches?

Can we please have access to the C-backend's compiler switches without having to resort to external scripts ?
Thanks!

Cheers,
Skipper
by Skipper
Sun Aug 31, 2025 6:18 pm
Forum: Coding Questions
Topic: Temporary Double
Replies: 12
Views: 1282

Re: Temporary Double

I hope you understood my reference to the PB -C-compiler backend? No need to learn C, really...
by Skipper
Sun Aug 31, 2025 5:10 pm
Forum: Coding Questions
Topic: Temporary Double
Replies: 12
Views: 1282

Re: Temporary Double

Piero,

creating a ternary operator this way will indeed make our sources somewhat more compact, but in the end, the compiler will generate similar binaries - this is especially valid for the optimising C-backend?

Cheers,
Skipper
by Skipper
Fri Aug 29, 2025 8:03 pm
Forum: Tricks 'n' Tips
Topic: Debug TypeOf
Replies: 5
Views: 1037

Re: Debug TypeOf

Piero wrote: Fri Aug 29, 2025 6:47 pm Hope I wasn't too cryptic :)
No you weren't, all clear, read you '5'. I'm curious about what comes next... :D

Skipper
by Skipper
Fri Aug 29, 2025 6:45 pm
Forum: Tricks 'n' Tips
Topic: Find next power of two integer
Replies: 6
Views: 1575

Re: Find next power of two integer

Piero,

I documented my test configuration in my post now, thanks!

Skipper
by Skipper
Fri Aug 29, 2025 2:03 pm
Forum: Tricks 'n' Tips
Topic: Debug TypeOf
Replies: 5
Views: 1037

Re: Debug TypeOf

Thank you, Piero. Very interesting!
by Skipper
Fri Aug 29, 2025 1:25 pm
Forum: Tricks 'n' Tips
Topic: Find next power of two integer
Replies: 6
Views: 1575

Re: Find next power of two integer

Thanks Azjio,

your nicely structured code provides me with insights for other themes I was wrestling with (window client area(s) resizing...)

Btw: your method provides power-of-two integers smaller than the one I type in. My code returns the integer itself if it is already a power-of-two integer ...