Re: [fpc-devel] jsonrpc - does it still work?

2023-11-25 Thread Michael Van Canneyt via fpc-devel
On Fri, 24 Nov 2023, Joost van der Sluis via fpc-devel wrote: Hi all, I'm playing with json-rpc but can't get it to work. I've tried the examples in fcl-web/examles/jsonrpc. I couldn't follow the readme as there are no lpi-files, so that the rttirpc.lpg does not work. But also this fails:

[fpc-devel] LLVM, interfaces and nested procedure variables

2023-11-25 Thread Kieran via fpc-devel
Hi, I'm trying to reproduce a minimal viable demo of a problem compiling code using the LLVM backend that has an interface with a parameter that is a nested procedure variable, but I'm not having any luck. I've noticed the difference between my test programs and the large project where I'm seeing

Re: [fpc-devel] LLVM, interfaces and nested procedure variables

2023-11-25 Thread Jonas Maebe via fpc-devel
On 25/11/2023 12:48, Kieran via fpc-devel wrote: I'm trying to reproduce a minimal viable demo of a problem compiling code using the LLVM backend that has an interface with a parameter that is a nested procedure variable, but I'm not having any luck. I've noticed the difference between my test

Re: [fpc-devel] LLVM, interfaces and nested procedure variables

2023-11-25 Thread Kieran via fpc-devel
Thanks Jonas, I was mistakenly invoking my non-LLVM compiler. On Sat, 25 Nov 2023 at 12:08, Jonas Maebe via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > On 25/11/2023 12:48, Kieran via fpc-devel wrote: > > I'm trying to reproduce a minimal viable demo of a problem compiling > > code using

Re: [fpc-devel] LLVM, interfaces and nested procedure variables

2023-11-25 Thread Jonas Maebe via fpc-devel
On 25/11/2023 13:34, Kieran via fpc-devel wrote: Thanks Jonas, I was mistakenly invoking my non-LLVM compiler. Fix pushed. Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-dev

[fpc-devel] Interesting short article about optimisation

2023-11-25 Thread J. Gareth Moreton via fpc-devel
I just stumbled across this article about micro-architecture-specific optimisations in ARM: https://www.phoronix.com/news/ARM64-Linux-No-Uarch-Opts They briefly mention x86_64, and I agree it's good to avoid micro-architecture-specific optimisations and now it makes me wonder where the line i