Search found 514 matches
- Apr 16, 2024 6:57
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 11
- Views: 675
Re: Seeding PRNGs with the Time Stamp Counter
So, there we have it. A bloke who has knocked out more than his fair share of PRNG implementations believing in randomness ending up being, how can I put it, uncertain whether randomness actually exists? Through the years I have followed your threads about rng's with interest and the topic of rando...
- Mar 24, 2024 9:56
- Forum: Community Discussion
- Topic: ARM CPU + FreeBASIC?
- Replies: 0
- Views: 302
ARM CPU + FreeBASIC?
Hello all,
Soon we will have Windows laptops with ARM CPU, for example the "Snapdragon X Elite". Any idea how such a CPU would play with FreeBASIC? Will it run our x86 programs? And will GCC recognize the arch and optimize / generate proper code for it with the march=native flag?
Thank you
Soon we will have Windows laptops with ARM CPU, for example the "Snapdragon X Elite". Any idea how such a CPU would play with FreeBASIC? Will it run our x86 programs? And will GCC recognize the arch and optimize / generate proper code for it with the march=native flag?
Thank you
- Mar 19, 2024 8:00
- Forum: Projects
- Topic: AZdecrypt 1.24
- Replies: 26
- Views: 16861
Re: AZdecrypt 1.24
Example of the Patterns analysis: 1) Put a cipher in the Input window, for example the Z340: HER>pl^VPk|1LTG2d Np+B(#O%DWY.<*Kf) By:cM+UZGW()L#zHJ Spp7^l8*V3pO++RK2 _9M+ztjd|5FP+&4k/ p8R^FlO-*dCkF>2D( #5+Kq%;2UcXGV.zL| (G2Jfj#O+_NYz+@L9 d<M+b+ZR2FBcyA64K -zlUV+^J+Op7<FBy- U+R/5tE|DYBpbTMKO 2<clR...
- Mar 19, 2024 7:57
- Forum: Projects
- Topic: AZdecrypt 1.24
- Replies: 26
- Views: 16861
Re: AZdecrypt 1.24
Example of the Manual polyalphabetic solver: You use this solver when you have a good idea or suspicion of how the polyalphabetism in the works. Or if you want to repair a message. 1) Example cipher, put it in the Input window: xfkkthbnkyovtonvd hidhotfhfrfortfvf rbkrfbtontbdtvbkk yfirttoffikovfhfr ...
- Mar 19, 2024 7:40
- Forum: Projects
- Topic: AZdecrypt 1.24
- Replies: 26
- Views: 16861
Re: AZdecrypt 1.24
Example of the Substitution + verbose solver: 1) Example cipher, put it in the Input window: abcdefghijkldeamdenopmopqdefgh qbcmrstopdefghbcijijubboklfghd eubbofghvrwubboopafghbcdefghij axyvnubbofghbcdezopdeubborfght xysvop{ijubbonijubbo|fghbcop|d efghopde|deijubbofghbcdefghkls opqdeyklopvxxmijubbo|...
- Mar 19, 2024 7:33
- Forum: Projects
- Topic: AZdecrypt 1.24
- Replies: 26
- Views: 16861
Re: AZdecrypt 1.24
AZdecrypt 1.24 released: https://drive.google.com/file/d/1LhXKTcSvQhq4QNuZYHgD3d8g-FEyjCNl/view?usp=drive_link New features: - Better integration of the homophone weight, and this setting is now changeable in the Main window (as is the entropy weight) and is available to all solvers that list the a...
- Dec 04, 2023 22:06
- Forum: General
- Topic: Parallel for loop in freebasic idea
- Replies: 7
- Views: 927
Re: Parallel for loop in freebasic idea
You may have a hybrid CPU where some cores don't have hyperthreading. I know it's besides the point of your thread but with such a CPU make sure that in Windows under Power settings, you have selected the best performance scheme (Beste prestaties) or Windows will offload your FreeBASIC program to th...
- Sep 30, 2023 9:37
- Forum: Community Discussion
- Topic: Missing in action.
- Replies: 28
- Views: 4288
Re: Missing in action.
Thanks deltarho/Lothar/srvaldez. I am still here, but only half. My wife died on Sept 7 after an horrific but short illness. (a few weeks). She was buried on Sept 18 in Stoneykirk Cemetery, a few hundred yards from our home. Sorry I missed the first "Missing in action" post, I am a little...
- Aug 31, 2023 19:34
- Forum: General
- Topic: Working with bits
- Replies: 8
- Views: 1714
Re: Working with bits
Thanks srvaldez,
It worked but it was slower, probably because the ASM interrupts the GCC optimizations.
It worked but it was slower, probably because the ASM interrupts the GCC optimizations.
- Aug 31, 2023 8:40
- Forum: General
- Topic: Working with bits
- Replies: 8
- Views: 1714
Re: Working with bits
One other issue of working with bits is that bit retrieval is slower than getting the value from a normal array. Because underlying bitwise arithemetic is used to retrieve the n'th bit from a data type. It posed to be a bottleneck for my specific use. For example: a+=bit(array(x+y),n) 'slower a+=arr...
- Aug 29, 2023 8:40
- Forum: General
- Topic: Working with bits
- Replies: 8
- Views: 1714
Re: Working with bits
hello Provoni :) the sum of bits in an integer is known as population count or POPCNT you can use the gcc __builtin_popcountll function or use the FB version by dodicat https://www.freebasic.net/forum/viewtopic.php?p=299802#p299802 to use the gcc builtin you must compile with the gcc backend, -gen ...
- Aug 28, 2023 9:22
- Forum: General
- Topic: Working with bits
- Replies: 8
- Views: 1714
Working with bits
Hey all, For an algorithm I'm trying to work with bits as fast as possible. Here's roughly what I need and any hints and tips are welcome. Currently working with 64-bit integers but could be persuaded to work with 32-bit numbers if that would provide other benefits. 1) Need to set bits possible (gen...
- Aug 25, 2023 17:40
- Forum: Sources, Examples, Tips and Tricks
- Topic: Programming Languages Benchmark
- Replies: 71
- Views: 12747
Re: Programming Languages Benchmark
sorry for the lousy help, please re-download again and after unpacking, place the *.dll.a files into the FB win64 lib folder the dlls need to be where your program is located or somewhere on the Windows PATH [ frankly, I got used to not getting any response from my posts so I don't check the forum ...
- Aug 25, 2023 16:30
- Forum: Sources, Examples, Tips and Tricks
- Topic: Programming Languages Benchmark
- Replies: 71
- Views: 12747
Re: Programming Languages Benchmark
Thanks, I have absolutely no idea where these files are supposed to go. It put them in the root of my program but that didn't work.srvaldez wrote: ↑Aug 25, 2023 16:14 Provoni here they are https://u.pcloud.link/publink/show?code ... t9t8RAb66V
- Aug 25, 2023 14:16
- Forum: Sources, Examples, Tips and Tricks
- Topic: Programming Languages Benchmark
- Replies: 71
- Views: 12747
Re: Programming Languages Benchmark
What operating system? You need the GSL shared libraries installed or downloaded. They are not part of FreeBASIC. If on Windows, are you doing 64-bit or 32-bit FreeBASIC? I have dlls for both 32 and 64-bit windows that are known to be good; they are part of my Fedora Linux distribution stock packag...