Search found 1335 matches

by angros47
Jan 09, 2018 22:00
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 47
Views: 966

Re: FreeBASIC Namespace Project

I just want to remind, for anyone who thinks to ditch -lang QB and -lang FBLITE, that these modes aren't just for compatibility for older languages: they are also for compatibility with the ISO standard https://en.wikipedia.org/wiki/BASIC#Standards . Dropping support for the standards would mean dro...
by angros47
Jan 09, 2018 20:04
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 47
Views: 966

Re: FreeBASIC Namespace Project

Fork the Compiler (32/64 bit) to, let's call it: GepardFB (mean/lean/fast), by: ⋅ getting rid of 'backwards compatible languages', aka: -lang FB exclusive (thus, getting rid of all 'dialect specific' current issues) ⋅ above allowes then for far quicker fixes to remaining compile...
by angros47
Jan 09, 2018 17:01
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 47
Views: 966

Re: FreeBASIC Namespace Project

The namespace idea itself is good, but it has not to break retro compatibility. At least, in my opinion.
by angros47
Jan 09, 2018 16:40
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 47
Views: 966

Re: FreeBASIC Namespace Project

Please... C++ is more than 30 years old, and is still retro-compatible. This kind of discussion happened dozens of times, here, and never lead to anything good.
by angros47
Jan 09, 2018 15:13
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 47
Views: 966

Re: FreeBASIC Namespace Project

Also, the only reason you are asking for this is so you can have a "default" namespace, which kind of defeats the purpose of putting the keywords into namespaces in the first place. I didn't mean really a "default" namespace, but a namespace "enabled by default", that ...
by angros47
Jan 08, 2018 23:21
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 47
Views: 966

Re: FreeBASIC Namespace Project

Well, this makes things simpler. In theory, if by default the runtime and graphics namespaces are enable, no existing code would be broken. Perhaps a way to deactivate the namespaces active by default could be provided (like it's possible to disable a single keyword with undef) But this leads to the...
by angros47
Jan 08, 2018 22:28
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 47
Views: 966

Re: FreeBASIC Namespace Project

I read now that in C++namespaces are additive, and can be used at the same time with multiple USING. Is the same true for FreeBasic, too?
by angros47
Jan 08, 2018 21:46
Forum: Community Discussion
Topic: FreeBASIC Namespace Project
Replies: 47
Views: 966

Re: FreeBASIC Namespace Project

So now we will have thousands upon thousands of lines of code on this forum which will not compile with this new fb. The worst is, the compiler itself would be one of those pieces of code The solution can be as simple as adding an 'using' statement at the top, as in 'using fb.gfx' if the code uses ...
by angros47
Jan 06, 2018 15:53
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 7
Views: 261

Re: Audio library for FreeBasic - Features

Under Linux, the simplest way is to open a pipe toward programs like aplay or pacat (or opening a file toward "/dev/dsp"), and sending raw data, either with PRINT # or with PUT. So, raw PCM sound can be achieved even from the simplest code, and even scripting languages can do that. My idea...
by angros47
Jan 03, 2018 18:33
Forum: Community Discussion
Topic: Part 3 Action "the GUI library"
Replies: 121
Views: 1730

Re: Part 3 Action "the GUI library"

jj2007 wrote:I know. But that doesn't make it any better - it is just unacceptable. My biggest project at the moment, 34,000 lines of code, loads in just under one second and compiles in under 4 seconds. That is slow but acceptable.


Then, why don't you write a GUI library for FreeBasic?
by angros47
Jan 03, 2018 0:49
Forum: Community Discussion
Topic: FreeBASIC and C++
Replies: 8
Views: 284

Re: FreeBASIC and C++

My question: Why not make the FB backend output C++ instead of C in order to allow easier C++ interfacing? Also, maybe then the compiler can more easily be extended to tap into powerful C++ constructs like templates, etc? Try writing such a back end, and then we could check if it is useful or if it...
by angros47
Jan 03, 2018 0:27
Forum: Community Discussion
Topic: Audio library for FreeBasic - Features
Replies: 7
Views: 261

Re: Audio library for FreeBasic - Features

Master volume is usually set by the OS, individual applications are unable to modify it (otherwise, an application could set it to zero and mute all the others)
by angros47
Jan 03, 2018 0:06
Forum: Community Discussion
Topic: Part 3: Action (hopefully)
Replies: 38
Views: 1101

Re: Part 3: Action (hopefully)

That's the reason why I suggest that a native FB sound library should not be like FMOD, FBSound and similar ones: there are already several of them. A native library should be more in line with the "All-Purpose" philosophy.
by angros47
Jan 02, 2018 15:42
Forum: Community Discussion
Topic: Part 3 Action "the GUI library"
Replies: 121
Views: 1730

Re: Part 3 Action "the GUI library"

This is what happens when people try desperately to port their Linux software to Windows, without having the faintest idea how Windows works. And they need over one GIGABYTE of "tools" to make a hello world proggie build and run. No thanks. Therefore, seriously: Use a very simple, BASIC s...
by angros47
Jan 02, 2018 1:24
Forum: Community Discussion
Topic: Part 3 Action "the GUI library"
Replies: 121
Views: 1730

Re: Part 3 Action "the GUI library"

I am serious: XBasic produces executables of about one megabyte, RapidQ of at least 300-400 kb , QB64 produces executables of about 600 kb (that requires additional DLLs, too), BlitzBasic of 900kb and more. Check yourself if you don't believe

Go to advanced search