Search found 3258 matches
- Apr 17, 2024 22:56
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 7
- Views: 328
Re: Seeding PRNGs with the Time Stamp Counter
For a guy that may be uncertain whether randomness actually exists, your response ... not what I expected. so I now learn that ' true random number generator' is a defined thing apparently ... which is not what I meant by 'true' (if that is what you thought). Anyway, my post intended to point out th...
- Apr 17, 2024 9:19
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24641
Re: Freebasic 1.20.0 Development
I had to resolve to admit limits to optimization. In FB, I find it very difficult to see how the expected level of fragmentation tolerance could become, if necessary, a property of the syntax encapsulation of certain objects, but above all transparent from an algorithmic point of view... for a hypo...
- Apr 17, 2024 9:00
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 7
- Views: 328
Re: Seeding PRNGs with the Time Stamp Counter
When we do look outside, Schrödinger's wave equation collapses, and we will see rain 75% of the time. This is a variation of Schrödinger's cat. Oh, pish posh! The cat, the box, the observer, the inside and outside, are all part of one system (Everett's interpretation), so there is no collapse of th...
- Apr 14, 2024 12:43
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24641
Re: Freebasic 1.20.0 Development
An update of some things being worked on... If we are going to make changes to string handling, (for example as discussed in this topic, temporary descriptors), I would like a way to conveniently profile the performance differences instead of having to write custom timing tests. Past couple of weeke...
- Apr 05, 2024 18:53
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24641
Re: Freebasic 1.20.0 Development
Hello, when compiling this example using compiler 1.20.0 dated 04/01/2024, it gives the error: Since fbc version 1.20.0, Put# warns then crashes on compilation with an array as data. See posts above. (there are several recent changes regarding the arrays. Maybe : fbc: fix non-index array assignment...
- Apr 04, 2024 9:38
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24641
Re: Freebasic 1.20.0 Development
adeyblue has the right idea. An audit will be worthwhile to identify all the junk. Some more aggressive concentrated effort than what we've been doing past several years of incremental reviews. Roadmap: Currently is a union of bug reports + TODO list + needs of developers of large fb projects + requ...
- Apr 03, 2024 9:24
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24641
Re: Freebasic 1.20.0 Development
OK, I understand. I agree, this change it would be worthwhile to have some method to do both. When we made the big changes for name lookups we temporarily added a #pragma to allow old name lookup logic. We could do something similar for len/sizeof but to do 1 of 3 things: 1) old behaviour, 2) error ...
- Apr 03, 2024 0:27
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24641
Re: Freebasic 1.20.0 Development
I don't think I have much thought about LEN(array) and SIZEOF(array). But even more the use of 'Len(array_name)' which is allowed (for the moment without a note in the documentation) is even more misleading because it actually always returns the value of 'Sizeof(array_element)' ! Yes, I see in compi...
- Mar 31, 2024 19:15
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24641
Re: Freebasic 1.20.0 Development
I improved my code (to test the 'Byref' passing/returning to/from a function) without changing the output view: The 2 utility Sub's are transformed into macros and only the two main functions remain in the form of procedures (because, for a most reliable test possible of parameter passing, the veri...
- Mar 29, 2024 22:12
- Forum: Sources, Examples, Tips and Tricks
- Topic: Rounding numbers
- Replies: 48
- Views: 4780
Re: Rounding numbers
I didn't know that the FB format function was modeled after vbdos Until I seen that comment in the source, I never would have guessed. Proving out FORMAT and PRINT USING is more than I would want to take on right now, otherwise I personally have no objection to changes if the output is more favoura...
- Mar 29, 2024 18:36
- Forum: Sources, Examples, Tips and Tricks
- Topic: Rounding numbers
- Replies: 48
- Views: 4780
Re: Rounding numbers
@coderJeff I tried hhr suggestion and it seems that he is right, however, I don't know if there are cases where the suggested change would cause a problem. the format function is a complex beast and it seems that it's not finished, I know that it fails the tests with gcc-13.2 and up See the note in...
- Mar 29, 2024 16:05
- Forum: Community Discussion
- Topic: Freebasic 1.20.0 Development
- Replies: 269
- Views: 24641
Re: Freebasic 1.20.0 Development
For fbc version 1.20.0 only: - Can you correct the cases '2.1 pass' and '2.2 pass' at least ? (the '0' of the terminal character of zstring does not play its role of end) - Could you correct other 'NON OK' cases ('return' cases) ? - Note: Only the cases '1.1' and '1.2' are compatible with the use o...
- Mar 23, 2024 18:06
- Forum: Documentation
- Topic: SmartPointer_UDTname_ segmentation violation
- Replies: 10
- Views: 424
Re: SmartPointer_UDTname_ segmentation violation
Otherwise I had already seen another configuration which presents the same behavior: Your example is better for debugging. Thank you. I believe the logic is here: ast-node-arg.bas#L869 1) If we are passing to a byval parameter, then check if there is a constructor that would work (assumption at thi...
- Mar 23, 2024 15:56
- Forum: Documentation
- Topic: SmartPointer_UDTname_ segmentation violation
- Replies: 10
- Views: 424
Re: SmartPointer_UDTname_ segmentation violation
I will try to isolate/simplify this abnormal behavior, but it will not be immediate because the code is quite complex. Here is the shortest I found so far. Try fbc-1.10+ with 'SHOW_CHANGE = true|false'. When SHOW_CHANGE=true, fbc-1.10+ assigns the result of CAST() as ROOT ptr to a temporary variabl...
- Mar 23, 2024 14:19
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3270
Re: -gen clang
Thank you srvaldez & deltarho