Git Product home page Git Product logo

advent-of-code-2023's Introduction

Advent of Code - 2023

With the help of this repository I try to solve Advent of Code - 2023, each day with a set of programming languages defined below to challenge myself.

Eventually this will give me an overview of how familiar I am with the different programming languages out there.

Programming Languages

I'm grouping each of the programming languages I will use in difficulty levels which fit my experience with them.

As you can see, there's no Assembly or TypeScript... because no.

Easy

Number Language Experience (in years) Experience (descriptive)
1 Python 17 First language, native speaker
2 C# (.NET 8.0) 5 Second language
3 Go 1 I can get around very well

Medium

Number Language Experience (in years) Experience (descriptive)
4 C 3 Haven't used it consistently
5 C++ 4 Used it more than C
6 D 0 Never used it but it doesn't seem hard at first glance

Hard

Number Language Experience (in years) Experience (descriptive)
7 Rust 0 Never used at all and it seems pretty hard
8 Bash 5 Technically not a programming language, though the challenge seems interesting

The process

I will try to write the most efficient code possible, first in Python. And from there I'll follow the tables above and see where this goes.

I'll optimize the code on the go. Won't pay too much attention to the commit history.

Removed languages

  • Removed Java because I remembered why I've always hated it
  • Removed Kotlin because I figured I don't like working with it tbh
  • Removed JavaScript, same reason as for Kotlin

advent-of-code-2023's People

Contributors

thetredev avatar

Watchers

 avatar

advent-of-code-2023's Issues

More languages?

Since I removed some languages I don't like working with, what about adding new ones I haven't tried at all?

Possibly:

  • Zig
  • ...

note: optimized static rust binaries

# ./.cargo/config

[build]
rustflags = ["-C", "link-arg=-s"]
target = ["x86_64-unknown-linux-musl"]
# ./Cargo.toml

[package]
name = "rust-app"
version = "0.1.0"
authors = ["me <[email protected]>"]

[[bin]]
name = "main"

[profile.release]
strip = true
lto = true
opt-level = "z"
codegen-units = 1
panic = "abort"
// ./src/bin/main.rs

fn ...
$ cargo build --release

Stale for now

Right after day 2 I can safely say: Rust is the definite winner for me!

While I still love Go, C# and Python, Rust is increasingly becoming more and more interesting to me. So I won't proceed with AoC for the time being. As in: I'll do some side projects purely in Rust this year and see how far I'll get.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.