Search found 3028 matches
- Mar 07, 2021 17:09
- Forum: Community Discussion
- Topic: How many generators currently available?
- Replies: 4
- Views: 125
Re: How many generators currently available?
I think a non GCC compiler backend like Visual Studio would be the logical next step. Following this logic I would vote for LLVM IR over Visual Studio. Again, why? What do you know about LLVM IR and its long term stability? I'm told its all fairly influx on even an year or couple of years scale. Th...
- Mar 06, 2021 20:48
- Forum: Community Discussion
- Topic: How many generators currently available?
- Replies: 4
- Views: 125
Re: How many generators currently available?
I think a non GCC compiler backend like Visual Studio would be the logical next step.
- Mar 05, 2021 21:04
- Forum: Community Discussion
- Topic: Moderators, FB community
- Replies: 27
- Views: 758
Re: Moderators, FB community
dodicat wrote:IMO the freepascal .chm help files are not very good......
I don't recognize the picture you paint at all. Not even parts.
- Mar 05, 2021 12:44
- Forum: Community Discussion
- Topic: Moderators, FB community
- Replies: 27
- Views: 758
Re: Moderators, FB community
Ref manuals are usually too fragmented anyway for beginners, without much head or tail. From my experience: manuals are the hardest type of documents and have most detailed information, documentations are a down to earth piece of information for both beginners and intermediate users, you could thin...
- Mar 05, 2021 7:32
- Forum: Windows
- Topic: Weird problem: CreateFile seems to return equal handles for different files
- Replies: 13
- Views: 294
Re: Weird problem: CreateFile seems to return equal handles for different files
The conversion is not related to the signed type of the handle type, but due to the Windows kernel being at the top of the memory range. Are you sure? Any reference to that? Dave Cutler c.s ? Search for "Dave Cutler Windows NT". Which mem range, 32-bit or 64-bit? My Win7-64 CreateFileA , ...
- Mar 04, 2021 12:31
- Forum: Windows
- Topic: Weird problem: CreateFile seems to return equal handles for different files
- Replies: 13
- Views: 294
Re: Weird problem: CreateFile seems to return equal handles for different files
As usual, opinions differ , marcov ;-) According to docs.microsoft... , converting from 32 to 64 bit handles involves sign-extending the value, so this means handles are NOT unsigned 64-bit versions of Windows use 32-bit handles for interoperability. When sharing a handle between 32-bit and 64-bit ...
- Mar 04, 2021 12:00
- Forum: Community Discussion
- Topic: Moderators, FB community
- Replies: 27
- Views: 758
Re: Moderators, FB community
Besides, sometimes the manual writers get feedback not from their "clients" but from the top level experts - and their feedback is often detrimental to the purpose of teaching, because they want that the manual complies 110% with the most recent ISOxxx standard, and their jargon is comple...
- Mar 03, 2021 17:28
- Forum: Windows
- Topic: Weird problem: CreateFile seems to return equal handles for different files
- Replies: 13
- Views: 294
Re: Weird problem: CreateFile seems to return equal handles for different files
Windows handles are unsigned, that is normal.
- Mar 03, 2021 9:42
- Forum: Documentation
- Topic: String index doc
- Replies: 45
- Views: 1001
Re: String index doc
Better to choose something familiar than invent something will just MORE awkward, forever. Maybe, if all things are equal. But quite often foreign syntax is rooted in principles that are different, like C like languages habit of making everything an expression, or in block assignments with single =...
- Feb 28, 2021 12:01
- Forum: Community Discussion
- Topic: Where is the magic?
- Replies: 3
- Views: 135
Re: Where is the magic?
IIRC add /usr/local/lib to /etc ld.so.conf and run ldconfig. (important! on FreeBSD it really doesn't pick it up till you run it, while on linux editing is often enough) There are security implementations of course, but if the system is not heavily multi user with untrusted users, it probably doesn'...
- Feb 28, 2021 11:49
- Forum: Community Discussion
- Topic: What does this mean?
- Replies: 12
- Views: 395
Re: What does this mean?
So the Delphi developer was right about initialize everything is the by design behavior of fbc and can't be easily changed. I don't know if his argument about performance is right or not, though. There is a small penalty. You can argue two ways, one, "it is a small price to pay for a bit secur...
- Feb 27, 2021 14:26
- Forum: Community Discussion
- Topic: Ansi, Utf8 & Utf16 encoding problems
- Replies: 35
- Views: 690
Re: Ansi, Utf8 & Utf16 encoding problems
Please note that for manifesting I was talking about UTF8 with -A functions, not converting them, and passing them on to UTF16 apis. That is Windows 10, and I bet that you'll find MultiByteToWideChar once you dive into the WhatEverA call ;-) Yes, and a not too old one. (1905 or so), but basically t...
- Feb 26, 2021 15:37
- Forum: Community Discussion
- Topic: Ansi, Utf8 & Utf16 encoding problems
- Replies: 35
- Views: 690
Re: Ansi, Utf8 & Utf16 encoding problems
Please note that for manifesting I was talking about UTF8 with -A functions, not converting them, and passing them on to UTF16 apis.
- Feb 26, 2021 10:45
- Forum: Community Discussion
- Topic: Ansi, Utf8 & Utf16 encoding problems
- Replies: 35
- Views: 690
Re: Ansi, Utf8 & Utf16 encoding problems
Of course, the console is another story; it works fine for Russian with the Lucida Console or Consolas fonts on my Italian OS, but to display Chinese in the console, you need some acrobatics - unless you have a Chinese Windows version, I suppose. No it is possible. IIRC you either need to install t...
- Feb 26, 2021 10:24
- Forum: Community Discussion
- Topic: Ansi, Utf8 & Utf16 encoding problems
- Replies: 35
- Views: 690
Re: Ansi, Utf8 & Utf16 encoding problems
I forget the technical terms, but basically indexing a string in UTF-16 is no faster than UTF-8 for the same reasons. Rule of thumb is that processing UTF16 is slower because it means accessing more bytes for Western scripts. It is about equal for cyrillic and middle eastern languages, and it is wo...