Search found 2732 matches

by marcov
Oct 23, 2019 9:00
Forum: Community Discussion
Topic: How to add new features? (syntax, user API)
Replies: 4
Views: 162

Re: How to add new features? (syntax, user API)

(3) as (1), but have some option to automatically add additional namespaces to the default namespace. Preferably in some order (e.g. to disallow or allow the added namespace to override keywords in main) This is what usually is done. Typically USING, USES or IMPORT is use. (if IIRC resp C#/Pascal/Ja...
by marcov
Oct 21, 2019 13:26
Forum: Community Discussion
Topic: [offtopic]What was at Jul 24, 2019 something special ?
Replies: 16
Views: 5754

Re: [offtopic]What was at Jul 24, 2019 something special ?

Fyi At several (SMF?) forums, late july through August there was a really high level of forum spam. At our forum, late august a lot of mitigation was done, so I lost sight of the details. The bots might still be out there and active though.
by marcov
Oct 20, 2019 11:09
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 93
Views: 2808

Re: FreeBASIC 1.08 Development

So to summarize this (if i got it right), it´s not about making FB a C++ clone, it´s about enabling FB to link to C++ libraries too, which more and more are becoming standard over plain C libraries. Concretely it is about calling C++ methods. Maybe constructors/destructors too (IOW instantiating C+...
by marcov
Oct 20, 2019 9:38
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 93
Views: 2808

Re: FreeBASIC 1.08 Development

I, for a while, had some code that could plain C wrappers from C++ classes for use at work. (Delphi), but as more and more of the SDKs I used(*) dropped plain C compatibility, I ran into the same thing as Angros47. Very few C++ classes that only use plain C types and other classes as arguments and r...
by marcov
Oct 20, 2019 9:34
Forum: General
Topic: GCC compile delay on large projects?
Replies: 7
Views: 409

Re: GCC compile delay on large projects?

Good chance that that is the linking step. gnu ld is not the fastest linker.

You could try to play with settings (e.g. turn on or off dead code elimination etc)
by marcov
Oct 19, 2019 16:38
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 93
Views: 2808

Re: FreeBASIC 1.08 Development

- kick out all "toolchains" except one Counterproductive. People that don't take part in development shouldn't tell people that actually do something to stop. - define an absolutely clear path structure defining non-ambiguously where FB.exe expects, relative to its own location, the vario...
by marcov
Oct 19, 2019 14:11
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 93
Views: 2808

Re: FreeBASIC 1.08 Development

I feel I should mention marcov's contributions to this community. I'm not sure if he's even tried fb. Not for production or so. I played with it for a while when helping someone on IRC with the first FB ports to FreeBSD (2008ish?). I also look at source from time to time, like gfxlib during the &qu...
by marcov
Oct 19, 2019 10:54
Forum: General
Topic: YouTube increases FreeBASIC performance (solved)
Replies: 5
Views: 148

Re: YouTube increases FreeBASIC performance

This is normal. Default Windows settings are power saving. The increased demand on CPU causes the CPU to increase its frequency. The algorithms for that are complex and can't always be predicted easily. You can however indicate that you want a higher performance profile (e.g. for benchmarking). Go t...
by marcov
Oct 18, 2019 21:09
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 93
Views: 2808

Re: FreeBASIC 1.08 Development

speedfixer wrote:
The topic *is* language development beyond the current version 1.07.


No, it is "fbc 1.08 development". Even if you take that to be the compiler only, there are also things like native backends, ports, optimization etc.
by marcov
Oct 18, 2019 19:34
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 93
Views: 2808

Re: FreeBASIC 1.08 Development

I think that indeed way too many of such discussions are about language. Libraries (and by that I mean libraries in FB, not headers for libraries in other languages), quality releases etc are much more important. And I do agree with Caseih's Many a project has died, or at least got seriously sidetra...
by marcov
Oct 16, 2019 20:36
Forum: Windows
Topic: Need new gfxlib driver for Windows 7, 8, 10
Replies: 16
Views: 2205

Re: Need new gfxlib driver for Windows 7, 8, 10

(this thread got live again, and I saw an old reply on it that could do with some updates) In my opinion, the best solution would be to rewrite the fbgfx library under OpenGL. Obvious advantages: This would be a perfectly valid opinion a few years ago, but you are writing this a week after Apple ann...
by marcov
Oct 16, 2019 14:32
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 93
Views: 2808

Re: FreeBASIC 1.08 Development

Real FORs only evaluate the bounds once to calculate a number of iterations I know you weren't referring to floating point numbers with "real" there, but that reminds me, the earliest BASIC I used was BASICA or GWBASIC, and the default variable type was floating point (single if I recall)...
by marcov
Oct 16, 2019 8:00
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 93
Views: 2808

Re: FreeBASIC 1.08 Development

Loopvars often must be simple variables, because there is an attempt to heavily optimize the loopvar, and the number of scenarios and pitfalls rises enormously. Real FORs only evaluate the bounds once to calculate a number of iterations, so the bounds don't have to be simple variables because they a...
by marcov
Oct 14, 2019 11:53
Forum: DOS
Topic: freebasic on win32s
Replies: 20
Views: 654

Re: freebasic on win32s

The point is that you can't do things like you normally do, and what internet recommends. This complicates things for people mostly working on newer windows. Just like any Windows code after 2000-2005 will probably call -W functions a lot. Things like that are basically behind the advise to not add...
by marcov
Oct 12, 2019 20:21
Forum: DOS
Topic: freebasic on win32s
Replies: 20
Views: 654

Re: freebasic on win32s

The point is that you can't do things like you normally do, and what internet recommends. This complicates things for people mostly working on newer windows. Just like any Windows code after 2000-2005 will probably call -W functions a lot. Things like that are basically behind the advise to not add ...

Go to advanced search