If you are a speed geek, you will probably be interested in this.
What is the FASTEST Computer Language? 45 Languages Tested! (E01)
https://www.youtube.com/watch?v=tQtFdsEcK_s
Current standings at the time of this video
Iterations per sec:
Ada: 67
Pascal: 143
Fastest language: 7301
Slowest langu
Michael wrote:
> There is no way to send data from server to client,
> only responses to client requests.
> What's more, HTTP 1 and 1.1 simplu do not allow this.
> You'd need HTTP2 and/or websockets in order to
> send data from server to client.
>From the spec, JSON-RPC 2.0 is "transport agnostic
Wayne wrote:
> JSON-RPC can be used bi-directionally when using
> UNIX domain sockets, TCP sockets, and other
> bidirectional transports (e.g websockets).
> If implemented as such using a bi-direction transport,
> the endpoints can be both a server and a client
> at the same time...
Sorry, my use
Michael wrote:
> Seems like both parts in the LSP protocol are playing 'client' and 'server',
> because:
>
> "The Client is defined as the origin of Request objects and the handler of
> Response objects.
> The Server is defined as the origin of Response objects and the handler of
> Request obj
On Sun, Oct 22, 2023 at 3:20 AM Michael Van Canneyt wrote:
> Thanks to the efforts of Nikolay Nikolov, the FPC compiler can now recompile
> itself to webassembly
I just watched an interesting talk from StrangeLoop called:
"Inside the Wizard Research Engine" by Ben L. Titzer
https://www.youtube.co
On Fri, Nov 3, 2023 at 12:56 AM Bo Berglund wrote:
> I am wondering if there is already available what I am needing?
Yes, there is software that bridges a serial connection over a
network. On Windows it is often called a "virtual com port" or
"virtual serial port" or "com port redirector".
Open
There is also some good info here:
https://gist.github.com/DraTeots/e0c669608466470baa6c
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Beware of using GetEnv / SetEnv in threads:
https://www.evanjones.ca/setenv-is-not-thread-safe.html
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On Sat, Dec 16, 2023 at 7:35 AM Michael Van Canneyt wrote:
> Hm. Lot of corrections to do.. I'll be busy tonight :-)
Are these grammars in GIT so others can help by submitting merge
requests? That way you can spread the love :-)
___
fpc-pascal maillist
On Mon, Dec 25, 2023 Michael Van Canneyt wrote:
> In short: To make a EBNF grammar which is 100% correct is not so simple
> and will make the scheme extremely difficult to understand for a reader.
> So I prefer to present a simpler version, and mention some limitations
> only in the text
...
> The
On Wed, Dec 27, 2023 at 3:25 AM James Richters wrote:
> I wanted to write what I thought should be a simple procedure, just instead
> of calling WRITELN() with some arguments, call WRITELOG() with the same
> arguments that you would use to write to a file, but my WRITELOG() procedure
> would write
Example using a TFileStream descendant and StreamIO AssignStream:
program TeeStdOut;
{$mode objfpc}
uses
Classes, SysUtils, StreamIO;
type
TTeeStream = class(TFileStream)
Private
FOriginalStdOut: Text;
FNewStdOut: Text;
public
constructor Create(const AFileName: string; Mode:
On Wed, Dec 27, 2023 at 3:42 PM Wayne Sherman wrote:
> Example using a TFileStream descendant and StreamIO AssignStream:
> ...(line 42 follows)
> FileWrite(TextRec(Output).Handle, Buffer, Count);
Although that worked (I don't know why) I intended line 42 to be:
FileWrite(TextRec(FOriginalStdOut)
On Mon, Jan 1, 2024 at 6:14 AM Hairy Pixels wrote:
> > On Jan 1, 2024, at 3:50 PM, Michael Van Canneyt wrote:
> > You can't optimize that. As said, a generic is convenient but slow.
>
> I don't know about that. Like was mentioned the enumerator needs to return a
> pointer, preferable without ^ so i
On Sun, Nov 17, 2024 at 2:20 PM Michael Van Canneyt via fpc-pascal
wrote:
> to pass it to the compiler through @extrafpc.cfg.
>
> If it is a fpc config file, then in that case it is definitely documented
> here:
> https://www.freepascal.org/docs-html/current/user/userse17.html
"One of the comman
On Mon, Dec 2, 2024 at 4:16 AM wkitty42--- wrote:
> TLDR; i'm looking for a (small?) Pascal library to handle lz4 data blocks
> contained inside a data file...
These use the lz4 library with pascal bindings (.a and.o files which
can be compiled into your executable). One is written for Delphi but
Michael Van Canneyt wrote:
> My wife creates websites for a living.
> I nearly had to re-animate her after she looked at the FPC website.
> The FPC website is a no-go area for her since that time.
>
> Hence my intent to re-open the debate.
I ran across this 15 min lightning talk from FOSDEM 2024 t
On Tue, Feb 4, 2025 Mgr. Janusz Chmiel wrote:
>. App can be installed, but user is
> helpless to find its launcher at The launcher desktop.
> Here is The short intent.
>
>
>
>
>
> I have got AN error from Android 14 from ADB that Intents must be
> spe
I thought about FPC and Lazarus. Not all open source projects can use
the same way to sustain themselves, but all open source projects that
want to be sustained need a way to do it.
Take Your FOSS Project From Surviving To Thriving
https://archive.fosdem.org/2024/schedule/event/fosdem-2024-2741-t
Wayne Sherman wrote:
> (recommend watching at 1.5x speed: using firefox | video player right
> click menu | speed)
To change playback speed in Chrome | in video player, use the three
dots menu at lower right.
___
fpc-pascal maillist - fpc-pascal@lists.
Peter B wrote:
> I'm wondering if there is any diff tool out there,
> that caters for Pascal syntax, so can filter out
> the noise from reformatting etc.
Beyond Compare
https://www.scootersoftware.com/
(30-day free trial, but well worth buying a license)
(Beyond Compare is itself written using Del
21 matches
Mail list logo