mirror of
https://github.com/Pagwin-Fedora/website.git
synced 2025-07-19 04:15:43 +00:00
Compare commits
No commits in common. "48f10951b5175271232d32c4874cc2c9e2bfe2db" and "c54f0d7c35f8a52d913a5430baab08b3a66eb81d" have entirely different histories.
48f10951b5
...
c54f0d7c35
3 changed files with 0 additions and 25 deletions
|
@ -1,4 +0,0 @@
|
||||||
---
|
|
||||||
title: "Article Purgatory"
|
|
||||||
description: If you find this page somehow then just so you know this page exists because I made a folder for articles I haven't and probably will never release so you can just forget about it and miss nothing.
|
|
||||||
---
|
|
|
@ -1,21 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
title: "Comparing Rust and C++"
|
|
||||||
|
|
||||||
description: "A post on how I view rust and C++ in relation to each other and my thoughts on them"
|
|
||||||
|
|
||||||
date: "2024-04-11"
|
|
||||||
|
|
||||||
draft: true
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
# What this is not
|
|
||||||
|
|
||||||
This is not me dunking in C++ because of memory safety (mostly). It also isn't unbiased I like Rust more than C++ for a couple of reasons.
|
|
||||||
|
|
||||||
# C++ is acceptable in some places
|
|
||||||
|
|
||||||
It has references and it has a way of distinguishing between references which can change stuff and references that can't. It has smart pointers `std::unique_ptr` and `std::shared_ptr` (we'll come back to this) alongside RAII via destructors `~class_name`. It has declarative/functional ways of working with iterators via stuff in the algorithm header in particular `std::transform`, `std::copy_if` and `std::find`. This is all nice and if C++ didn't have it I would complain about it. Anyways onto complaining about C++ due to being spoiled by Rust.
|
|
||||||
|
|
||||||
# Complaints
|
|
Loading…
Reference in a new issue