Search found 2745 matches

by marcov
Oct 20, 2019 11:09
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 113
Views: 4811

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: 113
Views: 4811

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: 13
Views: 1293

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: 113
Views: 4811

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: 113
Views: 4811

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: 6
Views: 219

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: 113
Views: 4811

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: 113
Views: 4811

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: 18
Views: 2616

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: 113
Views: 4811

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: 113
Views: 4811

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: 765

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: 765

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 16:10
Forum: DOS
Topic: freebasic on win32s
Replies: 20
Views: 765

Re: freebasic on win32s

Another challenge could be porting FreeBasic to bare metal (perhaps it could be done by compiling the runtime library using newlib?). This would allow to make FreeBasic programs able to run without operating system. Newlib seems to be a glibc for minimal systems. IOW mostly Linux. I don't see any i...
by marcov
Oct 11, 2019 19:14
Forum: DOS
Topic: freebasic on win32s
Replies: 20
Views: 765

Re: freebasic on win32s

Knatterton, the redmond theme is totally unrelated with this topic, could you stop mentioning it, please? I personally find Mysoft's work very interesting, at least as a retrocomputing experiment Also, it allows to redefine the minimal system requirements to run programs compiled with FreeBasic It ...

Go to advanced search