transition

This commit is contained in:
nora 2024-08-04 22:25:31 +02:00
parent d2e858ddca
commit 8162ce0cff
6 changed files with 11 additions and 12 deletions

0
.hugo_build.lock Normal file
View file

View file

@ -1,10 +1,10 @@
baseURL = "/" baseURL = "/"
languageCode = "en-us" languageCode = "en-us"
title = "nilstriebs blog" title = "Noratrieb's blog"
theme = "terminal" theme = "terminal"
[author] [author]
name = "Nilstrieb" name = "Noratrieb"
[params] [params]
contentTypeName = "posts" contentTypeName = "posts"
@ -12,4 +12,4 @@ themeColor = "orange"
centerTheme = true centerTheme = true
[params.logo] [params.logo]
logoText = "nilstriebs blog" logoText = "noratrieb's blog"

View file

@ -1,8 +1,8 @@
+++ +++
title = "Box Is a Unique Type" title = "Box Is a Unique Type"
date = "2022-07-23" date = "2022-07-23"
author = "Nilstrieb" author = "Noratrieb"
authorTwitter = "@Nilstrieb" authorTwitter = "@Noratrieb"
tags = ["rust", "unsafe code"] tags = ["rust", "unsafe code"]
keywords = ["box", "noalias"] keywords = ["box", "noalias"]
description = "About better aliasing semantics for `Box<T>`" description = "About better aliasing semantics for `Box<T>`"
@ -218,7 +218,7 @@ that can bring clear performance wins (for `noalias` on `&mut T`, those were m
future?** For the latter, there is no simple answer. For the former, there is. `rustc` has [_no_ performance improvements](https://github.com/rust-lang/rust/pull/99527) future?** For the latter, there is no simple answer. For the former, there is. `rustc` has [_no_ performance improvements](https://github.com/rust-lang/rust/pull/99527)
from being compiled with `noalias` on `Box<T>`, but this isn't really representative since rustc mostly uses arenas instead of box internally. from being compiled with `noalias` on `Box<T>`, but this isn't really representative since rustc mostly uses arenas instead of box internally.
I have also benchmarked a few crates from the ecosystem with and without noalias on box, and the [results](https://gist.github.com/Nilstrieb/9a0751fb9fd1044a30ab55cef9a7d335) I have also benchmarked a few crates from the ecosystem with and without noalias on box, and the [results](https://gist.github.com/Noratrieb/9a0751fb9fd1044a30ab55cef9a7d335)
were inconclusive. (At the time of writing, only regex-syntax, tokio, and syn have been benchmarked.) regex-syntax showed no changes. Tokio showed a few improvements without noalias were inconclusive. (At the time of writing, only regex-syntax, tokio, and syn have been benchmarked.) regex-syntax showed no changes. Tokio showed a few improvements without noalias
which is very weird, so maybe the benchmarks aren't really good or something else was going on. And syn tended towards minor regressions without noalias, but the benchmarks had high which is very weird, so maybe the benchmarks aren't really good or something else was going on. And syn tended towards minor regressions without noalias, but the benchmarks had high
jitter so no real conclusion can be reached from this either, at least in my eyes, but I don't have a lot of experience with benchmarks. Therefore, I would love for more people jitter so no real conclusion can be reached from this either, at least in my eyes, but I don't have a lot of experience with benchmarks. Therefore, I would love for more people

View file

@ -1,8 +1,8 @@
+++ +++
title = "Item Patterns And Struct Else" title = "Item Patterns And Struct Else"
date = "2023-03-17" date = "2023-03-17"
author = "Nilstrieb" author = "Noratrieb"
authorTwitter = "@Nilstrieb" authorTwitter = "@Noratrieb"
tags = ["rust", "language-design"] tags = ["rust", "language-design"]
keywords = ["design"] keywords = ["design"]
description = "Bringing more expressiveness to our items" description = "Bringing more expressiveness to our items"
@ -95,7 +95,7 @@ This doesn't sound too bad. This is where the executed code resides. But it come
# Items and sadness # Items and sadness
Items have a hard life. They are the parents of everything important. `struct`, `enum`, `const`, `mod`, `fn`, `union`, `global_asm` are all things we use daily, yet their grammar is very limited. ("free the items" was an alternative blog post title, although "freeing" generally remains a concern of [my C style guide](https://nilstrieb.github.io/nilstrieb-c-style-guide-edition-2/)). Items have a hard life. They are the parents of everything important. `struct`, `enum`, `const`, `mod`, `fn`, `union`, `global_asm` are all things we use daily, yet their grammar is very limited. ("free the items" was an alternative blog post title, although "freeing" generally remains a concern of [my C style guide](https://noratrieb.github.io/nilstrieb-c-style-guide-edition-2/)).
For example, see the following code where we declare a few constants. For example, see the following code where we declare a few constants.

View file

@ -1,8 +1,8 @@
+++ +++
title = "The Inevitable Doom" title = "The Inevitable Doom"
date = "2024-01-13" date = "2024-01-13"
author = "Nilstrieb" author = "Noratrieb"
authorTwitter = "@Nilstrieb" authorTwitter = "@Noratrieb"
tags = ["story"] tags = ["story"]
keywords = ["story"] keywords = ["story"]
description = "A short story about AI" description = "A short story about AI"

View file

@ -1 +0,0 @@
blog.nilstrieb.dev