
[from the archive] Doubly Linked Lists q&a : https://groups.google.com/g/racket-users/c/D2Lq075bNos\|https://groups.google.com/g/racket-users/c/D2Lq075bNos

Someone on the Discord asked about Doubly-Linked-Lists and I found this in the mailing list archive.

I think there are several implementation around. Here is one: https://github.com/soegaard/remacs/blob/master/dlist.rkt

Thanks! I’ve passed it on - are doubly linked list too rarely used to be useful as a package of their own?

I think so - I never used them elsewhere.


Huh - snake case? I get “always at the ground”, but is the term actually used?

yes, I see that term used a lot

yep

i use it all the time. have lots of python functions ive written to convert between: snake_case, camelCase, and CapsCase

But hungarian notation can burn in hell fire

Out of curiosity, what is the lisp style: variable-name
called?

I guess it’s just snake case with the underscore replaced with a dash but wondering if it had a name lol.

kebab-case

aye

and then you have stair_case–notation‾rulez

Oh wow, the M1 chip seems to be blazing fast. If anyone has it, please let me know how well Racket runs on it!

personal opinion incoming: i’ve always been quite dubious of Apple chip benchmarks. They (in the past) have been quite good at cherry picking tests that ideally suit their chip designs: high branching (shallow instruction pipelines), more focus on FP math, and often making very heavy usage of their own SIMD instructions that they get vendors like Adobe to write custom code just for the reveals to make use of those chips/instructions.
In no way am I knocking the M1. It’s probably a sweet chip. Just leery of putting much stock into any benchmarks posted by Appl.

In the past, the average programmer getting much benefit from those chips has been minimal at best. And “common” application code (e.g. games, word processors, etc.) benefit none at all - or often have taken a hit b/c they aren’t the target Apple use-case.

hungarian + camel + snake will really set me off.. :wink: static const char* s_lpchFirstName = "zomg";

I’d wait for the next gen of AMD mobile chips

All the other people posting benchmarks seem to be getting really good results too

That’s great if that’s the case.

Was just reading: https://www.anandtech.com/print/16252/mac-mini-apple-m1-tested

Looks promising. I hope M2 will support two external monitors.

:rhacketbeetle: What is the origin of the “rhacket beetle” emoji? Looks like the coolest thing ever :smile: