Skip to content

Conversation

@RMarx1456
Copy link
Contributor

@RMarx1456 RMarx1456 commented Jan 5, 2026

Congrats on taking the first step to contributing to the Sample Programs repository maintained by [The Renegade Coder][renegade-coder]!
For simplicity, please make sure that your pull request includes one and only one contribution.

Please fill one of the sections below as applicable.
Please also add any other relevant information to the Notes section at the bottom.
You may delete or just ignore any other sections.
For more information please refer to our [contributing documentation][contributing]

I Am Adding a New Code Snippet in an Existing Language

  • I fixed Add Dijkstra in X86 64 #4777
  • I did not include any extra folders/libraries
  • I named the pull request using Add {PROJECT} in {LANGUAGE} format

Other Notes

Please let me know if there's anything you need me to change in this program or to this PR. Thank you!

RMarx1456 added 30 commits July 14, 2025 10:07
…p appropriate variables in (ro)data ahead of time.
…to implement the priority queue, as every data structure is forced to be implemented bare metal, and so an array is a lot nicer to work with and requires less SYS_MMAP.
…de in _start. Will need to debug once things get running.
…ction. Would be better if more than one were ever needed.
…g it in .data; would allow for more than one to be created.
…gging and reorganization when I finish the structure.
…s. I'm going to need to use a function for addressing the heap unless I want a mess in this function.
…input, work on Dijkstra's algorithm finally, in later commits, and then fix syntax errors, debug, simplify, and then I'll be done. This is already longer in terms of code than my sleep sort; wow!
…t to include the vertex element intself, rather than only the distances.
…ertex elements. But this still needs extensive debugging. The plan is to debug as it runs, and then fix components until they are functional.
…e actual number parser (not validater) will be written now.
…ith. Planning to start working on main method again once this is finished.
…I made such a horrendous error on that function).
…simpler version to work, then the PQ/Minheap stuff is axed.
…ng placed. Now I just need to correct all instances of the algorithm and print the correct result.
… to remove debugging artifacts and pretty up the code.
…to test this against some cases not presented on the sample-programs website just in case.
@github-actions github-actions bot added enhancement Any code that improves the repo dijkstra See: https://sampleprograms.io/projects/dijkstra/ labels Jan 5, 2026
@RMarx1456 RMarx1456 marked this pull request as ready for review January 5, 2026 11:25
@RMarx1456
Copy link
Contributor Author

That was A LOT of work. I will pick an easier one next time.

Copy link
Collaborator

@rzuckerm rzuckerm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @RMarx1456 for taking on such an ambitious sample program in a extremely difficult language!

@rzuckerm rzuckerm merged commit b357b87 into TheRenegadeCoder:main Jan 5, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dijkstra See: https://sampleprograms.io/projects/dijkstra/ enhancement Any code that improves the repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Dijkstra in X86 64

2 participants