cuetorials.com
starlark-go
Our great sponsors
cuetorials.com | starlark-go | |
---|---|---|
27 | 21 | |
113 | 2,196 | |
-0.9% | 1.4% | |
4.1 | 6.9 | |
27 days ago | 5 days ago | |
CUE | Go | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
cuetorials.com
-
HCL: Toolkit for Structured Configuration Languages
I have a website I maintain, many people tell me it has helped them
https://cuetorials.com
-
Ask HN: Comment here about whatever you're passionate about at the moment
CUE(lang), because devops & yaml engineering has gotten out of hand
I maintain https://cuetorials.com and am heading up the CUE sig-infra group for the time being
- That's a Lot of YAML
-
Ask HN: Who needs vendors, and vendors, who needs customers?
If you need help with CUE(lang), we maintain https://cuetorials.com and have experience helping others adopt it at their companies
email is in my HN profile, same handle on GitHub and X
- Learn you some CUE for a great good
-
Ask HN: Which Python or Rust-based static site generators to use as of 2023?
If you are more focused on the devops part, and not implementing a static site generator, then go with Python. For our static sites we use Hugo + GH Actions + Kubernetes (since we have a cluster anyway). There is not really any code involved here (example: https://github.com/hofstadter-io/cuetorials.com)
I'm personally interested to try https://docs.dagger.io/sdk/python/ for something. I used the CUE sdk, but it is effectively deprecated at this point. I use a mix of base, make, python, and CUE fro most devops / devex stuff now. Dagger makes it so local & CI stuff runs the same.
- Cue Wins
- Ask HN: Do you have something you continually work on for years?
-
Ask HN: How to find the right tech angel investor for new programming platform?
yup, I'm betting the proverbial ranch on CUE :]
I also maintain https://cuetorials.com
-
hof: The High Code Framework (low-code for devs), a flexible data modeling & code generation system
I also maintain https://cuetorials.com, bet the farm on CUE or something like that :]
starlark-go
-
Python Is Easy. Go Is Simple. Simple = Easy
Starlark in go https://github.com/google/starlark-go is a great way to combine the best of both, the ease of use of Python and the simplicity of go.
I have been building a platform for deploying internal web applications using this approach https://github.com/claceio/clace. Use Starlark to configure the application, the platform itself is built in go.
- Show HN: Clace – Platform for secure internal web applications
-
Examples of using task scheduler with Go?
The big unknown is your task definition: what does user-defined logic look like? If you're expecting go code, that's gonna need some cleverness because of the compiled nature of it. There's a node runtime implemented in go if you want to provide sandboxed javascript (check the source of k6.io, it's the main one I know that uses it). If you want to provide building blocks and let them compose them, starlark might be a good choice.
-
Show HN: Gsubpy, an interpreter for subset of Python, written in Go
Another one of those (with broader language support) is the Starlark language, which has a Go implementation: https://github.com/google/starlark-go
-
Looking for library to build composable actions from config file
Every config format gets as complex to be touring complete in the end. We had similar problems and eventually got rid of that complexity and switched to starlark (the bazel config language), was a huge benefit for the tools. https://github.com/google/starlark-go "Starlark is a dialect of Python intended for use as a configuration language. Like Python, it is an untyped dynamic language with high-level data types, first-class functions with lexical scope, and garbage collection."
-
Looking for programming languages created with Go
Direct link to the Go implementation of Starlark: https://github.com/google/starlark-go
-
Change go code behaviour at runtime
For a Python-like syntax, https://github.com/google/starlark-go is the language used in Babel. It's very mature, but since it is used in a massive mature project with a specific purpose, it doesn't move fast or drift from the spec of its Java-based sibling. It doesn't have exception try except blocks or some other features you might expect, but for short extension logic, it might be exactly what you want with the stability you can depend upon.
-
Reserve 4 gigabytes and treat any pointer in that range as an integer value
Context: https://github.com/google/starlark-go/blob/cfacd890221418a2dc2c736f7b5e3476c38709b1/starlark/int_posix64.go
-
A command-line tool to create development environments for AI/ML, based on Docker and buildkit
Thus envd is more like Dockerfile, while it uses a simplified python dialect starlark https://github.com/google/starlark-go as the build language.
-
I'm building an experimental successor to Bazel™
Use Go (mostly for starlark-go)
What are some alternatives?
vector - A high-performance observability data pipeline.
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
juicefs - JuiceFS is a distributed POSIX file system built on top of Redis and S3.
cue - CUE has moved to https://github.com/cue-lang/cue
strictyaml - Type-safe YAML parser and validator.
gopher-lua - GopherLua: VM and compiler for Lua in Go
hof - Framework that joins data models, schemas, code generation, and a task engine. Language and technology agnostic.
go-jsonnet
VuePress - 📝 Minimalistic Vue-powered static site generator
jsonnet-libs - Grafana Labs' Jsonnet libraries