Nice! Thanks for the example, Def Ceb.
Below is the other really nice video/talk by Andrew Kelley that I watched
but couldn't find again immediately.
It gives some of the origin story/motivating problem for Zig (realtime
audio workstation).
https://www.youtube.com/watch?v=Gv2I7qTux7g
It is l
I think it's a very nice tool Reza, great job! Lovely interface with the
hints and learnings, should be useful to anyone learning Go.
On Tuesday, 24 June 2025 at 18:40:22 UTC+1 Reza Shiri wrote:
> Hey everyone! đź‘‹
>
> So I've been preparing for technical interviews lately, specifically
> focusin
I wasn’t trying to change the subject. You said why do we need a generic map
when the stdlib has one… you responded to my statement about a “map” is an
interface in Java and I If it makes you feel better, ignore 1 and just go with
2.
> On Jun 26, 2025, at 2:34 AM, Jan Mercl <0xj...@gmail.com>
I've had some luck with some cross-OS Go stuff via `CGO_ENABLED=1 CC='zig
cc -target ' CXX='zig c++ -target ' AR='zig ar' go build`
Not a lot of nice options otherwise for MacOS.
On Thu, Jun 26, 2025, 13:23 Jason E. Aten wrote:
> I've been thinking maybe I should set up a blog to talk about non-
I've been thinking maybe I should set up a blog to talk about non-Go
computer science... so maybe I'll get to that...it seems like a big
undertaking.
In the meantime, here are some very cool topics I have
come across recently that are (tangentially) related to Golang:
1. Sophie Wilson on the f
On Thursday, June 26, 2025 at 9:22:14 AM UTC+2 Robert Engels wrote:
“ negligible chance of collision” is not scientific. It depends on the use
case whether or not it is negligible.
On Jun 26, 2025, at 2:14 AM, Jason E. Aten wrote:
negligible chance of collision
Thanks Robert. You're just se
Hello,
the code is published here https://github.com/chmike/fastmap.
Le mercredi 25 juin 2025 à 12:16:54 UTC+2, christoph...@gmail.com a écrit :
> By swap pop I mean that a deleted item is replaced by the last item of the
> group or the chain. This will indeed move items.
>
> I have implemente
On Thu, Jun 26, 2025 at 9:12 AM Robert Engels wrote:
> Because the stdlib generic map is not 1) an interface (e.g. cannot have
> concurrent semantics with same syntax ) and 2) cannot work with arbitrary
> types - they must implement comparable.
I quoted a sentence with a complain about the lac
“ negligible chance of collision” is not scientific. It depends on the use case
whether or not it is negligible.
> On Jun 26, 2025, at 2:14 AM, Jason E. Aten wrote:
>
> negligible chance of collision
--
You received this message because you are subscribed to the Google Groups
"golang-nuts"
The case of having a []byte key is doable by just converting the keys
to/from string, since Go strings are essentially just immutable byte slices.
There'll be some overhead from all the copying if you end up having to
convert a lot though.
On Thu, Jun 26, 2025, 08:17 'Axel Wagner' via golang-nuts
On Wednesday, June 25, 2025 at 5:25:51 PM UTC+2 Pierre Durand wrote:
Is it safe to use the result of a hash/maphash (uint64) as a map key.
Is there a risk of collision ? (different inputs generate the same hash)
Thank you
Hi Pierre,
If it helps, I usually just cryptographically hash the key (
Because the stdlib generic map is not 1) an interface (e.g. cannot have
concurrent semantics with same syntax ) and 2) cannot work with arbitrary types
- they must implement comparable.
I thought this was obvious from the discussion.
> On Jun 26, 2025, at 1:55 AM, Jan Mercl <0xj...@gmail.com>
12 matches
Mail list logo