-
Content Count
791 -
Joined
-
Last visited
-
Days Won
61
Vincent Parrett last won the day on June 17
Vincent Parrett had the most liked content!
Community Reputation
847 ExcellentTechnical Information
-
Delphi-Version
Delphi 11 Alexandria
Recent Profile Visitors
-
Looking for CBuilder/VS help on C open source project
Vincent Parrett replied to Vincent Parrett's topic in Job Opportunities / Coder for Hire
@Keesver thanks, this looks promising. Another dev was able to get it compiling with CBuilder Win64x - however my immediate need is Win32 - any idea what changes need to be made to get quickjs-ng compiling for Win32? I'm also keen to take some changes from https://github.com/koush/quickjs to enable debugging at some point. -
Looking for CBuilder/VS help on C open source project
Vincent Parrett replied to Vincent Parrett's topic in Job Opportunities / Coder for Hire
Yes, ActiveScripting has been abandoned by Microsoft - which would be fine if they just made sure it continued to work for a while, but they recently completely broke it - https://www.finalbuilder.com/resources/blogs/finalbuilder-and-automise-on-windows-11-24h2 We have a ton of existing javascript, as do our customers (each action has events customers can write scripts on), so it's not simply a a case of swapping out scripting languages. I did look at p4d a while ago but ran into issues - I don't remember the specifics (something around threading - finalbuilder is multi threaded). It's on my todo list to look at again when time permits. We currently have iron python support, but have been telling customers not to use it for some time due to memory issues. Swapping that out for for P4D might sound like a no brainer but Iron Python allows people to use .net framework classes. What ever happens, we're going to have some unhappy customers. Tech debt sucks! -
Looking for CBuilder/VS help on C open source project
Vincent Parrett replied to Vincent Parrett's topic in Job Opportunities / Coder for Hire
I'm looking to replace MS ActiveScripting in FinalBuilder. -
Looking for CBuilder/VS help on C open source project
Vincent Parrett replied to Vincent Parrett's topic in Job Opportunities / Coder for Hire
Kindof - there are a bunch of "forks" of quickjs out there - QuickJS-Windows-Build is one - but it's very out of date and I couldn't get it to build. -
Looking for CBuilder/VS help on C open source project
Vincent Parrett posted a topic in Job Opportunities / Coder for Hire
Hi All I'm looking at getting QuickJS working in Delphi. Sadly my C skills are not at the level needed to get anything to build in CBuilder or Visual Studio these days - it's not the same language I used 30+ years ago. There are a bunch of forks of this project, and I am pretty sure I have tried them all but have yet to get a completely successful build - probably because I don't know what I am doing. Ideally I'd like to be able to generate Win32/Win64 object files that I can link into delphi, or if that isn't feasible then a dll that I can load. Prefer C++ Builder but failing that Visual Studo 2022 is also an option. The C code apears to be written for GCC and supports Win32 via MINGW. I am willing to sponsor someone to work on this if needed. DM me if interested. Timeframe is asap! -
pascal-process: A new library for running processes and redirecting their output.
Vincent Parrett replied to pyscripter's topic in I made this
Interesting, similar to my old library (except that I handle stderr) - I will have to study it further as I have been considering using job objects since seeing a talk on them at DelphiSummit (I have looked at them in the past but never implemented them).- 23 replies
-
- open-source
- process
-
(and 1 more)
Tagged with:
-
pascal-process: A new library for running processes and redirecting their output.
Vincent Parrett replied to pyscripter's topic in I made this
I'm also using a 4K buffer, but in my testing a larger buffer size makes no discernible difference to performance.- 23 replies
-
- open-source
- process
-
(and 1 more)
Tagged with:
-
pascal-process: A new library for running processes and redirecting their output.
Vincent Parrett replied to pyscripter's topic in I made this
@Kas Ob. not sure what hardware he is using but on my 5900X ssd system I am seeing 16-17s for both his library and mine.- 23 replies
-
- open-source
- process
-
(and 1 more)
Tagged with:
-
pascal-process: A new library for running processes and redirecting their output.
Vincent Parrett replied to pyscripter's topic in I made this
This is interesting - I have my own process library that uses IOCP for reading stdout/stderr and I thought it was fast (it's a lot faster than my old library that uses threads) - but in a quick test your library has pretty much identical performance. That makes me consider switching to overlapped io and avoiding the extra complexity with IOCP. My approach is similar to yours, my library does not convert stdout to strings by default. It was inspired by this library, which has a nice abstraction over the IO side of things. https://github.com/Tyrrrz/CliWrap Not sure if I will end up publishing my lib, I have become rather disallusioned with the whole open source side of things - but that's another story.- 23 replies
-
- open-source
- process
-
(and 1 more)
Tagged with:
-
Intercepting functions for unit testing is a terrible idea. A better option would be to create abstractions and a concrete implementation (ie actually calls UuidCreate), that abstraction can be easily mocked using Delphi Mocks or Spring4D for uinit tests. The same applies to code that relies on things like Now or NowUTC - e.g - https://github.com/VSoftTechnologies/VSoft.System.TimeProvider
-
Code signing certificates have become so expensive...
Vincent Parrett replied to RaelB's topic in Delphi Third-Party
With Signtool Yes, however with Signotaur you do not. -
FinalBuilder is an Automated Build tool which supports Delphi 3 - 12.3 and C++Builder 3 - 12.3, along with many other tools. Version 8.5 adds a new Password Variable type, stronger encryption and new actions to interact with the Windows Credential Manager. https://www.finalbuilder.com/resources/blogs/finalbuilder-85-and-automise-55-release
-
VSoft.System.Console - Delphi implementation of c# Console class
Vincent Parrett replied to Vincent Parrett's topic in I made this
The demo is very basic - haven't had time to produce anything more extensive. -
VSoft.System.Console - Delphi implementation of c# Console class
Vincent Parrett replied to Vincent Parrett's topic in I made this
The valid sizes will depend on your screen resolution. on my machine I get LargestWindowHeight 85 LargestWindowWidth 320 So that call to SetWindowSize is out of bounds for your machine. I guess I should make the demo use more conservative values. -
VSoft.System.Console - Delphi implementation of c# Console class
Vincent Parrett replied to Vincent Parrett's topic in I made this
Oh that's weird. What version of delphi are you using?