Advent_of_Code_in_Pascal
mORMot2
Our great sponsors
Advent_of_Code_in_Pascal | mORMot2 | |
---|---|---|
23 | 6 | |
8 | 448 | |
- | - | |
0.0 | 9.9 | |
over 1 year ago | 7 days ago | |
Pascal | Pascal | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Advent_of_Code_in_Pascal
-
Advent of Code 2022
I'm doing it in Lazarus/Free Pascal again.
-
-🎄- 2021 Day 22 Solutions -🎄-
Free Pascal - 2251/1744 34.5 seconds runtime No objects, no recursion After brute forcing part 1, I stared at part 2 until I though only handling the different values of X,Y,Z and letting the grid represent variable size cubes.. only to hit memory size limits anyway... and then I learned how to use BITPACKED array, and was able to eventually brute force part 2. Whew!
-
-🎄- 2021 Day 21 Solutions -🎄-
Pascal 2235/4609
-
-🎄- 2021 Day 18 Solutions -🎄-
Pascal - Github
-
-🎄- 2021 Day 16 Solutions -🎄-
Pascal 7079/6330 - github
-
-🎄- 2021 Day 15 Solutions -🎄-
Github - https://github.com/mikewarot/Advent_of_Code_in_Pascal/blob/master/2021/advent2021_15b.lpr
- -🎄- 2021 Day 13 Solutions -🎄-
-
-🎄- 2021 Day 9 Solutions -🎄-
Pascal 2437/6187
-
-🎄- 2021 Day 8 Solutions -🎄-
Pascal 3590/5744
- -🎄- 2021 Day 3 Solutions -🎄-
mORMot2
-
Modern Pascal is still in the race (2022)
This article reads more like an ad for mORMot 2 than Pascal. I've been out of the Pascal game for a few years, so I had to look up mORMot 2.[0] Apparently Synopse are the maintainers of it.
The article basically compare their CSV/JSON serialising library to Go's standard CSV/JSON libraries. Looking at the Go code, it's pretty clear why it has memory issues, it reads all the lines into a single object (well, `[][]string`) immediately, rather than reading line for line (which takes advantage of the stream).
I am not sure how this is remarkable and impressive for Pascal. They talk about how you don't need to use the `try..finally..Free` routine all the time, but that's only if the object in question is an interface. Interfaces are somehow handled by a reference counter in Object Pascal, so you need to know how to operate on objects vs interfaces, because they act very different. Pascal is full of these quirks.
-
Lazarus – Professional Free Pascal Rad IDE
Lazarus is great! While FPC and Lazarus make it very easy and productive to make cross-platform GUI software, people should know that mORMot (https://github.com/synopse/mORMot2) makes it very easy to develop cross-platform web apps.
mORMot has been around for over a decade, the feature-set is very rich and mature, and the development and user forums are also very active - you can easily confirm that by checking the github repo's commit logs and visiting their forum.
mORMot's ORM is quite interesting - it's based on SQLite and supports all other mainstream databases through SQLite's virtual table mechanism.
-
Turbo Pascal: A Great Choice for Programming Under CP/M (2013)
The most powerful and stable web framework is mORMot, it supports both FPC and Delphi. Here is its version 2 in development: https://github.com/synopse/mORMot2
I use Delphi all the time, IMHO, it's the best tool for Windows desktop app development - concise language, blazing fast compile time, easy UI design, flexible UI framework, all-in-one IDE, and so on. It's joy to me :)
And here is my new desktop software written in Delphi: https://docxmanager.com/
What are some alternatives?
python4delphi - Free components that wrap up Python into Delphi and Lazarus (FPC)
CEF4Delphi - CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
castle-engine - Cross-platform (desktop, mobile, console) 3D and 2D game engine supporting many asset formats (glTF, X3D, Spine...) and using modern Object Pascal
Axes-Armour-Ale - A fantasy, ASCII dungeon crawler for Windows, Linux & OSX
travesty - Parody text generator
advent-of-code - My solutions for Advent of Code
aoc2020 - Advent of Code 2020 - my answers
advent-of-code-2020 - 🎅🌟❄️☃️🎄🎁
aoc-2020 - Advent of Code 2020
Advent-of-Code - Advent of Code
advent-of-code-2020 - Answers and solutions for Advent of Code 2020.
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA