NOTE: I’m making this because I feel like this should be clarified. I had a lot of discussions where people were biased by other opinions, mostly due to spread misconceptions about these files. I can update this later with a more fundamental reason if I see even more controversy on discussions I have in a near future. A lot of package managers use a lockfile mechanism to reliably reproduce…
Hi D community! Sorry for being late. I’m here again, to describe what I’ve done during the seventeenth week of Symmetry Autumn of Code. LLVM upstream updates This week I finished working on the three patches I was working about demangling and finally merged them in the LLVM upstream: https://reviews.llvm.org/D111416 https://reviews.llvm.org/D111417 https://reviews.llvm.org/D111419 I…
Hi D community! I’m here again, to describe what I’ve done during the sixteenth week of Symmetry Autumn of Code. LLVM upstream updates This week I continued my work on the demangler patches, including the next 3 patches related to minimal type parsing and symbol/type back referencing. I removed most of the types in this next patch, due to the fact that it requires other dependencies to…
Hi D community! Sorry for being late. I’m here again, to describe what I’ve done during the fifteenth week of Symmetry Autumn of Code. LLVM upstream changes: LLD D demangling I didn’t work on the demangler patches but I touched on some other existing ones, such as implementation of DW_TAG_immutable_type on the LLVM core which had some missing pieces and added tests. (See here) I…
Hi D community! I’m here again, to describe what I’ve done during the fourteenth week of Symmetry Autumn of Code. Updates on my COVID situation: I successfully recovered from it, just feel some tiredness and lack of energy sometimes, but other than that, dry cough is now occasional and I already recovered from the other symptoms such as lack of smell and taste, and fever. Nothing to…
The challenge A giant whale has decided your submarine is its next meal, and it’s much faster than you are. There’s nowhere to run! Suddenly, a swarm of crabs (each in its own tiny submarine - it’s too deep for them otherwise) zooms in to rescue you! They seem to be preparing to blast a hole in the ocean floor; sensors indicate a massive underground cave system just beyond where…
The challenge Part 1 The sea floor is getting steeper. Maybe the sleigh keys got carried this way? A massive school of glowing lanternfish swims past. They must spawn quickly to reach such large numbers - maybe exponentially quickly? You should model their growth rate to be sure. Although you know nothing about this specific species of lanternfish, you make some guesses about their attributes.…
The challenge Part 1 You come across a field of hydrothermal vents on the ocean floor! These vents constantly produce large, opaque clouds, so it would be best to avoid them if possible. They tend to form in lines; the submarine helpfully produces a list of nearby lines of vents (your puzzle input) for you to review. […] Each line of vents is given as a line segment in the format x1,y1 ->…
The challenge You’re already almost 1.5km (almost a mile) below the surface of the ocean, already so deep that you can’t see any sunlight. What you can see, however, is a giant squid that has attached itself to the outside of your submarine. Maybe it wants to play bingo? Bingo is played on a set of boards each consisting of a 5x5 grid of numbers. Numbers are chosen at random, and the…
Hi D community! I’m here again, to describe what I’ve done during the thirteenth week of Symmetry Autumn of Code. This week as a bit atypical as I got infected with COVID-19 and this made me feel exhausted both physically and mentally. Working approach to fetch basic types After digging a bit about the problem I found out there is no problem specifically in Release builds, and a simple…
Hi D community! I’m here again, to describe what I’ve done during the twelfth week of Symmetry Autumn of Code. LLVM upstream follow up update Two more patches in the D demangling patch train got merged! https://reviews.llvm.org/D114308 https://reviews.llvm.org/D114309 After getting my testsuite working reasonably well, I self merged those two accepted patches. I’ve contacted some…
The challenge The submarine has been making some odd creaking noises, so you ask it to produce a diagnostic report just in case. The diagnostic report (your puzzle input) consists of a list of binary numbers which, when decoded properly, can tell you many useful things about the conditions of the submarine. The first parameter to check is the power consumption. You need to use the binary numbers…
The challenge It seems like the submarine can take a series of commands like forward 1, down 2, or up 3: forward X increases the horizontal position by X units. down X increases the depth by X units. up X decreases the depth by X units. Note that since you’re on a submarine, down and up affect your depth, and so they have the opposite result of what you might expect.
Hi D community! I’m here again, to describe what I’ve done during the eleventh week of Symmetry Autumn of Code. LLVM upstream follow up update Three more patches in the D demangling patch train got merged! https://reviews.llvm.org/D111415 https://reviews.llvm.org/D114305 https://reviews.llvm.org/D114307 I joined this week on the LLVM official team to help provide maintenance on the…
The challenge As the submarine drops below the surface of the ocean, it automatically performs a sonar sweep of the nearby sea floor. On a small screen, the sonar sweep report (your puzzle input) appears: each line is a measurement of the sea floor depth as the sweep looks further and further away from the submarine. […] The first order of business is to figure out how quickly the depth…
Hi D community! I’m here again, to describe what I’ve done during the tenth week of Symmetry Autumn of Code. LLVM upstream follow up update During the discussion for the next patch in the train, 4 more patches have been raised, due to request to split it even more: https://reviews.llvm.org/D114305 https://reviews.llvm.org/D114307 https://reviews.llvm.org/D114308…
Hi D community! I’m here again, to describe what I’ve done during the ninth week of Symmetry Autumn of Code. LLVM upstream follow up update I started this week updating the rest of the patches to reflect the suggestions made in the first patch, such as use a different OutputBuffer and other nit codestyle changes. It turns out to be very unproductive week, unfortunately, since I got…
Did you know that you can use classes in D as better C? Yes, you read correctly, you can actually use classes in D with -betterC. Problem involved The main problem with having normal classes in D as better C is the dependency of runtime hooks and runtime type information from the D runtime library. Since betterC has some limitations, including forbidden usage of runtime type information, users are…
Hi D community! I’m here again, to describe what I’ve done during the eighth week of Symmetry Autumn of Code. Sorry for being a bit late. LLVM upstream follow up update The following patches got merged: https://reviews.llvm.org/D111414 https://reviews.llvm.org/D111432 https://reviews.llvm.org/D110578 This includes the most important patch of the Milestone 1, which is initial support…
Hi D community! I’m here again, to describe what I’ve done during the seventh week of Symmetry Autumn of Code. LLVM/LLDB upstream status update Some trivial changes about LLDB plugins got merged and a fix got raised after my investigation on https://bugs.llvm.org/show_bug.cgi?id=45856 . I have some fresh news about the demangler being upstreamed. It appears that approval from official…
Hi D community! I’m here again, to describe what I’ve done during the sixth week of Symmetry Autumn of Code. LLVM Patches follow up The first two patches were merged into the LLVM tree! https://reviews.llvm.org/D111947 https://reviews.llvm.org/D111948 Hopefully we can now proceed with merging the demangling patches as the next step. LLDB D Plugin This week I primarily worked on getting…
Hi D community! I’m here again, to describe what I’ve done during the fifth week of Symmetry Autumn of Code. LLVM Patches follow up During the discussion on some patches, two other patches have been raised, refactoring the usage of string utilities shared among other demanglers. https://reviews.llvm.org/D111948 https://reviews.llvm.org/D111947 Second milestone kickoff This week I…
Hi D community! I’m here again, to describe what I’ve done during the fourth week of Symmetry Autumn of Code. Finishing the patch split I’m happy to announce the full list of patches since the split: https://reviews.llvm.org/D111414 https://reviews.llvm.org/D111415 https://reviews.llvm.org/D111416 https://reviews.llvm.org/D111417 https://reviews.llvm.org/D111419…
Hi D community! I’m here again, to describe what I’ve done during the third week of Symmetry Autumn of Code. Restructuring the patch history According to LLVM team, the patch I previously sent needs to be split into smaller ones and that is a bit of a challenge. Why you may ask? Because looking at the ABI specification a lot of mangling nodes are dependent of each other and splitting…
Hi D community! Sorry for being late this week. I’m here again, to describe what I’ve done during the second week of Symmetry Autumn of Code. Finalizing the LLDB integration Last week some missing pieces on the test suite and on the LLDB side was concluded at the beginning of this week and put everything together. Restructure the code to be more C++ish After successfully integrating…
SAOC LLDB D integration: 1st Weekly Update Hi D community! I’m here to describe what I’ve done during the first week on the Symmetry Autumn of Code. liblldbd During the discussion for the milestones plan with my mentor, I decided to advance some work and wrote a simple C API around D runtime demangler to expose the D demangler API into a C interface. This would allow in the future to…
Luís Ferreira Hey there, I’m a 21 years old student passioned for computers, highly motivated and interested for Free Software movement and Open Source projects. I like to develop correct and secure back-end infrastructures with the low-level power. I’m mostly proficient in D, C and C++. I’m interested in developing compilers and parsers. I also like to tinker with highly…