go | Angular | |
---|---|---|
2,276 | 808 | |
128,800 | 98,284 | |
0.6% | 0.5% | |
10.0 | 10.0 | |
5 days ago | 3 days ago | |
Go | TypeScript | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go
-
Go Blog: Generic Interfaces
> I didn't realize how important order was to type inference.
I was unclear, I'm afraid. You can reorder the type parameters, it just changes which of them you need to specify: https://go.dev/play/p/oDIFl3fZiPl
The point is that you can only leave off elements from the end of the list, to have them automatically inferred.
> Are there any real packages out there using these techniques?
I think so far, the usage of generics for containers in Go is still relatively sparse, in public code. I think in part that is because the documentation of how to do that is relatively sparse. That is part of the motivation for the post, to have a bit of somewhat official documentation for these things, so they become more widely known.
The standard library is just starting to add generic containers: https://github.com/golang/go/issues/69559 And part of that is discussing how we want to do things like this: https://github.com/golang/go/issues/70471
That being said, I have used the pointer receiver thing in my dayjob. One example is protobuf. We have a generic helper to set a protobuf enum from the environment. Because of how the API was designed, that required a pointer receiver constraint.
-
From Polling to Partying: Writing Cooler Goroutines with sync.Cond
Source code for sync.Cond.Wait() (Go standard library) https://github.com/golang/go/blob/master/src/sync/cond.go For those who want to go under the hood and see how Wait() really works internally (with runtime_notifyListWait).
- Green Tea Garbage Collector
-
Why I'm excited about Go for agents
> Lack of proper enums is hurting so much I can't describe it.
Do you mean sum types? Its enums function just pretty much like enums in every single other language under the sun. If anything, Go enums are more advanced than most languages, allowing things like bit shifts. But at the heart of it all, it's all just the same. Here are enum implementations in both Go and Rust:
[Go] https://github.com/golang/go/blob/f18d046568496dd331657df4ba...
[Rust] https://github.com/rust-lang/rust/blob/40daf23eeb711dadf140b...
While Go leans on the enumerator value produced by `range`, while Rust performs explicit incrementing, the outcome is no different — just plain [n=0, n++].
-
Too Many Open Files
This is one of the many things where Go just takes care of automatically. Since Go 1.19, if you import the os package, on startup, the open file soft limit will be raised to the hard limit: https://github.com/golang/go/commit/8427429c592588af8c49522c...
-
sync.Cond in Go: Efficient Goroutine Signaling Without Channels
For a deeper dive, check out the source code for sync.Cond.
-
Syntactic Support for Error Handling
> But is know that the current way of Go (that is a insignificant improvement over the C way) sucks and ANY of the other ways are truly better […]
This is a bold statement for something so subjective. I'll note that the proposal to leave the status quo as-is is probably one of the most favorably voted Go proposals of all time: https://github.com/golang/go/issues/32825
Go language design is not a popularity contest or democracy (if nothing else because it is not clear who would get a vote). But you won't find any other proposal with thousands of emoji votes, 90% of which are in favor.
I get the criticism and I agree with it to a degree. But boldly stating that criticism as objective and universal is uninformed.
- Go green tea experimental garbage collector
-
Understanding the Go Scheduler
Relevant proposal to make GOMAXPROCS cgroup-aware: https://github.com/golang/go/issues/73193
- Pkg.go.dev Is Down
Angular
-
Firebase hybrid on-device with Angular
Some of you asked me to create an example of integration between Angular and one of Firebase's latest features: "hybrid on-device".
- Ng-News 25/26: DDD, Animations In/Out, Reflow Issues
-
I Built My Personal Portfolio with Angular and Hosted It on GitHub Pages
Framework: Angular
-
Exploring the `@Attribute` Decorator in Angular 🔍
During a recent discussion with some colleagues about TypeScript decorators, we ended up deep-diving into Angular.dev and stumbled upon something interesting — the @Attribute decorator.
-
How to use Angular 20 experimental Vitest support outside of ng test
I’m the kind of developer who likes to stay in the loop of the technologies they love, even though they may not be working with them right now. And I love Angular.
-
Reactivity in Angular
“Zone.js’s support for standard apis” (permalink).
- Ng-News 25/22: Angular 20
-
Resource API Changes in Angular 20 - Query Resource in rxResource
The PR relevant to the Resource API: PR60919
-
The Rise of Hybrid Frameworks
In mid-2000s Gmail revolutionized web development by becoming the first true SPA project. Its seamless user experience inspired developers worldwide to adopt this new model, leading to the creation of frameworks like React, Angular and Vue.js. SPAs became the go-to solution for many applications, which required real-time interactions and a fluid user experience.
-
Angular: Beyond the Fog #2
Angular Docs AI sources are angular.dev, Angular GitHub Discussions and Angular GitHub Issues.
What are some alternatives?
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Drawflow - Simple flow library 🖥️🖱️
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Next.js - The React Framework
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
astro - The web framework for content-driven websites. ⭐️ Star to support our work!