polyclip-go
triangulate
polyclip-go | triangulate | |
---|---|---|
1 | 1 | |
75 | 1 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | almost 2 years ago | |
Go | Go | |
- | 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.
polyclip-go
-
Looking for a library to perform boolean operations on polygons
polyclip-go: https://github.com/akavel/polyclip-go
triangulate
-
Copilot just sells code other people wrote
I can give you an example of an entire (well, I still consider it alpha) library I wrote several months ago, using Copilot: https://github.com/osuushi/triangulate
This is an implementation of a 1991 paper on polygon triangulation into Go. So the deepest thinking about how to solve the problem was obviously already done for me, but there were a number of edge cases that I had to invent my own solutions to, and the translation itself involved keeping a lot of context in my head.
I can’t tell you in precise detail what Copilot did, and what I wrote by hand. I wasn’t taking notes or recording my screen. But there’s a reason you don’t see a lot of blocks in there where I forgot to comment anything, because my entire process for this was “type what I want to do in English, and see if Copilot will generate the next snippet, or something close”. I didn’t do this out of bloodyminded dedication to the AI cause, but because it continued to be an extremely effective way to get the code written quickly.
I can give a few specifics:
- My linear algebra is rusty, and Copilot was extremely helpful here. I would often just type the basic thing I was trying to do in pretty vague linear algebra terms, and it would generate the formula.
What are some alternatives?
S2 geometry - S2 geometry library in Go
NT5.1 - Windows NT 5.0 kernel source code.
shift - High-performance HTTP router for Go.
pathfind - Path finding on a 2D polygonal map
g2d - Craft beautiful geometric art using code.
NT4.0 - Windows NT 4.0 source code leak
simplefeatures - Simple Features is a pure Go Implementation of the OpenGIS Simple Feature Access Specification
fast_inv_sqrt - attempt to understand the _evil floating point bit level hacking_
go - The Go programming language
kotal - Blockchain Kubernetes Operator