Search found 243 matches

by TeeEmCee
May 15, 2018 6:26
Forum: Community Discussion
Topic: Windows 10 updates
Replies: 50
Views: 3320

Re: Windows 10 updates

Antivirus can't save you from them; you'll end with a horribly insecure OS over time. I'd like to challenge the truth of that statement (based on my statements above). If your point is that the addition of new features also introduces new bugs, and enlarges the attack surface, creating a piece of s...
by TeeEmCee
May 14, 2018 5:17
Forum: Projects
Topic: Toad on Fire - Dev Log
Replies: 7
Views: 748

Re: Toad on Fire - Dev Log

I had wondered what had become of this. Looking great, and sounds like you're putting proper thought into game design too!
by TeeEmCee
May 14, 2018 5:09
Forum: Community Discussion
Topic: Windows 10 updates
Replies: 50
Views: 3320

Re: Windows 10 updates

Today I notice a screenres 640,480,32,,1 isn't a real fullscreen the toolbar or name it taskbar are visible looks bad for a game. I'm sure before last Windows 10 update it worked normal here. Joshy This is a bug in Windows 10 Creators Update, and it even affects AAA games ! I was hoping that Micros...
by TeeEmCee
Apr 15, 2018 8:22
Forum: Community Discussion
Topic: Random numbers
Replies: 20
Views: 1280

Re: Random numbers

Yes, it provides theoretical guarantees that existing hardware don't have, and it's quite interesting. Even it doesn't provide a perfectly uniform output (IIRC, creating a randomness extracter which is perfectly uniform is impossible). In practice I believe that and all other problems are trivially ...
by TeeEmCee
Apr 15, 2018 7:36
Forum: Community Discussion
Topic: Random numbers
Replies: 20
Views: 1280

Re: Random numbers

Quantum random number generator hardware for PCs/servers, as USB or PCI/PCIE plugins, have been commerically available for a long time, eg the Quantis first released in 2001. See https://en.wikipedia.org/wiki/Comparison_of_hardware_random_number_generators . I have some interest in this because it's...
by TeeEmCee
Apr 15, 2018 7:33
Forum: General
Topic: How to speed up compilation?
Replies: 2
Views: 228

Re: How to speed up compilation?

FB does not have anything like precompiled headers. That commandline just creates a normal object file but with .gch extension. You don't need to include all of windows.bi. For most basics only including the following two headers will be enough: #include once "win/windef.bi" #include once ...
by TeeEmCee
Apr 05, 2018 9:26
Forum: General
Topic: Blake2 hashing function
Replies: 4
Views: 353

Re: Blake2 hashing function

I have done further tests where the filecache is purged of the 100MB.txt file before each and every test and I am getting not much difference between SHA2 and Blake2, which is not making any sense. Oh, dear! Why would you expect a significant time difference? If you have a harddisk, disk latency is...
by TeeEmCee
Apr 04, 2018 13:59
Forum: General
Topic: DYNAMICBASE option for Address Space Layout Randomization (ASLR)
Replies: 4
Views: 338

Re: DYNAMICBASE option for Address Space Layout Randomization (ASLR)

Well, you seem to understand everything already... I made FB respect the -pic flag when building executables too, to do build PIE, but I never put in a pull request for those changes , because they're in my unmerged branch for android support (in recent versions of android, all binaries much be PIE....
by TeeEmCee
Apr 02, 2018 1:28
Forum: Community Discussion
Topic: If you are interested in...
Replies: 5
Views: 644

Re: If you are interested in...

Thanks for linking! I watched the PC demos, but due to timezones missed the other compos, and the ones on Saturday. Looking forward to seeing those intros.
by TeeEmCee
Mar 31, 2018 0:13
Forum: General
Topic: Division issues with FB ULONGINTs?
Replies: 7
Views: 294

Re: Division issues with FB ULONGINTs?

In either C or FB, if the result of a float division is stored in an integer, then the result must be converted to an integer type. This is done implicitly in both languages. Usually C rounds towards 0, and FB rounds to the nearest, choosing the even number if the decimal is 0.5, but if I recall co...
by TeeEmCee
Mar 30, 2018 23:36
Forum: Beginners
Topic: Compiling errors #3
Replies: 6
Views: 495

Re: Compiling errors #3

I would guess it's a bug in old versions of GCC when dealing with __attribute__(common) variables. The code you posted works fine for me in both 32 and 64 bit on GNU/Linux with fbc 1.06 and gcc 7.3.0.
by TeeEmCee
Mar 23, 2018 8:17
Forum: General
Topic: SetUnhandledExceptionFilter in 64 bit
Replies: 42
Views: 1830

Re: SetUnhandledExceptionFilter in 64 bit

I just found out that SetUnhandledExceptionFilter works in 64 bit like a charm with the following compiler switches: -gen gcc -Wc -fexceptions -Wc -funwind-tables This isn't right; fbc only accepts a single -Wc argument. Specifying -Wc twice causes the second to override the first one. You have to ...
by TeeEmCee
Mar 22, 2018 2:15
Forum: General
Topic: SetUnhandledExceptionFilter in 64 bit
Replies: 42
Views: 1830

Re: SetUnhandledExceptionFilter in 64 bit

SEH and SetUnhandledExceptionFilter makes a lot more sense after reading this: https://msdn.microsoft.com/en-us/library/windows/desktop/ms679353(v=vs.85).aspx I'm jealous that Microsoft implemented something superior to standard C++ exceptions (and to the DWARF and SJLJ exception handling supported ...
by TeeEmCee
Mar 22, 2018 1:57
Forum: Community Discussion
Topic: Speed of FreeBasic
Replies: 62
Views: 5207

Re: Speed of FreeBasic

You can't compare the speed of C and FB unless you run both on the same hardware! Quoting timings of just one is useless. I compared srvaldez's n-body code against C++: cpu: AMD FX-6100 (Bulldozer) @ 3.3GHz (with boosting above 3.3GHz disabled in BIOS) fbc: 1.06 built from git gcc: 7.3.0 linux 4.14....
by TeeEmCee
Mar 21, 2018 21:47
Forum: Community Discussion
Topic: New version?
Replies: 47
Views: 4534

Re: New version?

Most users are likely to use the latest official release rather than an unofficial build. The time between releases does signal how active the project is, so it looks bad to wait too long. I've made the huge mistake of waiting 3 years between releases of an actively developed project, and many peopl...

Go to advanced search