metashade VS decorator

Compare metashade vs decorator and see what are their differences.

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
metashade decorator
2 1
52 821
- -
8.2 3.5
7 days ago 3 months ago
Python Python
Apache License 2.0 BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

metashade

Posts with mentions or reviews of metashade. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • Show HN: Metashade – a Pythonic GPU shading/compute EDSL
    3 projects | news.ycombinator.com | 21 Apr 2024
    Thanks!

    Multiple targets is definitely the plan, and GLSL is my next priority. Metashade can currently generate HLSL for the DX12 version of https://github.com/ppenenko/glTFSample/tree/metashade_demo, and there's also a Vulkan version of that demo using GLSL. So implementing GLSL generation for that would be a great proof of concept and a test bed: HLSL and GLSL generated from single source and producing identical rendering results.

    The diagram on slide 31 of my presentation shows how implementation is currently inherited between the Metashade packages. The future GLSL generators should inherit common functionality from the "rtsl" package, just like the existing HLSL generators. However, I expect heavy refactoring to be necessary because I was initially targeting just one language and so not all code is implemented at the appropriate level.

    BTW, here's a poll where you can vote for a target language you'd like to see prioritized: https://github.com/ppenenko/metashade/discussions/17

decorator

Posts with mentions or reviews of decorator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-23.
  • Python Malware Starting to Employ Anti-Debug Techniques
    7 projects | news.ycombinator.com | 23 Dec 2022
    that doesn't make much sense and there are necessary uses for eval() /exec(), mostly for dynamic creation of code:

    For example here's Python dataclasses in the standard library using exec() to create the `__init__` and other methods that go on your dataclass:

    https://github.com/python/cpython/blob/main/Lib/dataclasses....

    Here's Pydantic using it for a jupyter notebook check:

    https://github.com/pydantic/pydantic/blob/594effa279668bd955...

    here's Pytest using it to rewrite modules so that functions like assert etc. are instrumented by pytest:

    https://github.com/pytest-dev/pytest/blob/eca93db05b6c5ec101...

    Here's the decorator module using it (as is the only way to do this in Python) to create a signature matching decorator for an arbitrary function:

    https://github.com/micheles/decorator/blob/ad013a2c1ad796996...

    All of these libraries are completely secure as eval/exec are used with code fragments that are generated by the libraries, not based on untrusted input.

    eval() /exec() are not running executable files, just Python code, the same way all the rest of the package is already doing.

What are some alternatives?

When comparing metashade and decorator you can also consider the following projects:

CPython - The Python programming language

pytest - The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

thonny - Python IDE for beginners

act - Run your GitHub Actions locally 🚀

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured