Skip to content
#

code-generation

Here are 1,548 public repositories matching this topic...

amplication
prateek
prateek commented Apr 27, 2020

Hey folks, thanks for a pretty bad ass library! I'm seeing a 3-3.3x gain when decoding fairly large JSON payloads (40-50MB) as compared stdlib/json-iterator.

Few things in the generated code that struck me as odd are the allocation sizes for slices/maps:

  • Slice is set to size 1 initially, values are appended using append
  • Map does not have a default size specified

Instead of this, I

avo
mmcloughlin
mmcloughlin commented Jan 7, 2019

We are reliant primarily on the examples for testing at this point. It would be good to "stress" the allocator because I would be (pleasantly) surprised if it's bug-free.

  • More extensive unit testing
  • Integration test under tests/ that (for example) uses the max number of registers of a given kind and confirms the register allocator doesn't fall over
  • More specifically, handling of "cast
good first issue testing

CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python or Matlab/Octave.

  • Updated Jun 9, 2022
  • C++
symforce
bradley-solliday-skydio
bradley-solliday-skydio commented Jun 9, 2022

The Codegen constructor is happy to make a codegen object out of constants

co = codegen.Codegen(
    inputs=Values(a=geo.Rot3.from_storage([1, 2, 3, 4])),
    outputs=Values(out=geo.Rot3.from_storage([1, 2, 3, 4])),
    config=codegen.CppConfig(),
    name="test",
)

This is probably not behavior we want.

bug good first issue core
fastapi-crudrouter

Improve this page

Add a description, image, and links to the code-generation topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the code-generation topic, visit your repo's landing page and select "manage topics."

Learn more