Search found 749 matches
- Sun Sep 13, 2009 10:22 pm
- Forum: Feature Requests and Wishlists
- Topic: Debugging Macros
- Replies: 0
- Views: 1034
Debugging Macros
I use macros heavily when one doesn't compile right it shows a window with the expanded code. however during run time the macro is just a series of steps for number of commands in the macro before going to the next line and no info about how it was expanded or what is the state currently in the ...
- Wed May 27, 2009 5:44 am
- Forum: Feature Requests and Wishlists
- Topic: Debugger Improvements
- Replies: 1
- Views: 1012
Debugger Improvements
I would like to suggest some debugger improvements for the next major release.
First off, better debugging of threads like selecting what thread to watch in terms of execution, with stepping and other debugging functions. along with reporting the thread id when an error occurs in a thread. This ...
First off, better debugging of threads like selecting what thread to watch in terms of execution, with stepping and other debugging functions. along with reporting the thread id when an error occurs in a thread. This ...
- Thu Apr 09, 2009 1:19 pm
- Forum: General Discussion
- Topic: Is this a bug or dirty memory handling on my part?
- Replies: 11
- Views: 3306
unfortunately it doesn't and under hood so to speak it's signless. The sign and unsigned aspect really doesn't matter until mul and div (hence the opcodes imul and idiv) in terms of integer math, floating point I can't be sure of.
But, considering that we have char, where halfway there to a unsigned ...
But, considering that we have char, where halfway there to a unsigned ...
- Thu Apr 09, 2009 6:51 am
- Forum: General Discussion
- Topic: Is this a bug or dirty memory handling on my part?
- Replies: 11
- Views: 3306
- Thu Apr 09, 2009 12:52 am
- Forum: General Discussion
- Topic: Is this a bug or dirty memory handling on my part?
- Replies: 11
- Views: 3306
Is this a bug or dirty memory handling on my part?
Simple code to interpret.
Structure SimplePixel ;32 bit color, no unicode!
Red.c
Green.c
Blue.c
Padding.b
EndStructure
Structure SimplePixelByReference ;it shouldn't have any memory allocated towards it.
Pixel.SimplePixel[0]
Value.l[0]
EndStructure
MyPixel.SimplePixelByReference ;should ...
Structure SimplePixel ;32 bit color, no unicode!
Red.c
Green.c
Blue.c
Padding.b
EndStructure
Structure SimplePixelByReference ;it shouldn't have any memory allocated towards it.
Pixel.SimplePixel[0]
Value.l[0]
EndStructure
MyPixel.SimplePixelByReference ;should ...
- Thu Mar 12, 2009 8:09 pm
- Forum: Feature Requests and Wishlists
- Topic: Interfaces shouldn't always be a pointer!
- Replies: 3
- Views: 1911
- Thu Mar 12, 2009 8:02 am
- Forum: Feature Requests and Wishlists
- Topic: Interfaces shouldn't always be a pointer!
- Replies: 3
- Views: 1911
Interfaces shouldn't always be a pointer!
It occurred to me that interfaces are always a forced pointer, weather or not you have * prefixed the variable. it somewhat troubling, I can understand that under most circumstances that interfaces would be a pointer (created off site) and it looks neater to omit the pointer symbol from the code ...
- Mon Jan 12, 2009 8:30 am
- Forum: Tricks 'n' Tips
- Topic: Simple Profiler
- Replies: 1
- Views: 1890
Simple Profiler
Here is a simple cycle profiler I decided to code after a project of mine had some odd execute times on procedures.
All that is required is that you use "BeginProfiler" at the start of the section of code you want to measure and then at the end of section of code put "EndProfiler" and use ...
All that is required is that you use "BeginProfiler" at the start of the section of code you want to measure and then at the end of section of code put "EndProfiler" and use ...
- Tue Dec 23, 2008 12:52 am
- Forum: General Discussion
- Topic: The Chaos that is Object Oriented Programming
- Replies: 8
- Views: 3653
- Mon Dec 22, 2008 12:24 pm
- Forum: General Discussion
- Topic: The Chaos that is Object Oriented Programming
- Replies: 8
- Views: 3653
The Chaos that is Object Oriented Programming
A while back I found a solution of natively using a simple object oriented type of programming found here: http://www.purebasic.fr/english/viewtopic.php?t=27986
That set of code has matured over the years internally, I've never released it, and I have always wanted to expand so that it had a better ...
That set of code has matured over the years internally, I've never released it, and I have always wanted to expand so that it had a better ...
- Mon Jul 28, 2008 4:28 am
- Forum: General Discussion
- Topic: A few networking code questions
- Replies: 0
- Views: 989
A few networking code questions
I'm working on some back-end code for networking and I'm also using threads to process the outgoing and incoming events and data for each connection and client. It unclear when an network event is cleared, is it when you call NetworkServerEvent()/NetworkClientEvent() or call EventServer ...
- Fri May 16, 2008 10:57 pm
- Forum: General Discussion
- Topic: Multithreaded and Parallelizing
- Replies: 4
- Views: 2077
- Thu May 15, 2008 10:44 pm
- Forum: General Discussion
- Topic: Multithreaded and Parallelizing
- Replies: 4
- Views: 2077
Multithreaded and Parallelizing
So, In some of my recent work I been doing there has been some occasions where a certain segments of code could be easily put into context of multithreaded, Parallelized, or even both. There are a few questions both such topics that I have to ask to make sure I can actually do it and efficiently ...
- Thu Nov 01, 2007 11:13 pm
- Forum: General Discussion
- Topic: Designing Thread Safe Programs
- Replies: 1
- Views: 1507
Designing Thread Safe Programs
I am in the process of writing some network based software for my own use and I thought the best way of handling it would be through a thread pool like system.
I did write something like that a while ago here:
http://www.purebasic.fr/english/viewtopic.php?t=24417
but, I am unsure how well it will ...
I did write something like that a while ago here:
http://www.purebasic.fr/english/viewtopic.php?t=24417
but, I am unsure how well it will ...
- Wed Oct 03, 2007 10:21 pm
- Forum: Off Topic
- Topic: PC and HDTV
- Replies: 6
- Views: 2027