Questions tagged [alchemy]

Alchemy is a research project from Adobe Systems that allows for the compilation of C and C++ code to AVM2 bytecode, so that it can be run on Flash Player or Adobe AIR. This is accomplished by an initial compilation to LLVM bytecode as an intermediate step.

Alchemy is a research project from Adobe Systems that allows for the compilation of C and C++ code to AVM2 bytecode, so that it can be run on Flash Player or Adobe AIR. This is accomplished by an initial compilation to LLVM bytecode as an intermediate step.

148 questions
8
votes
6 answers

Cannot find module '@nomicfoundation/hardhat-toolbox'

I meet this issue when try to run the js file
Vodka
  • 89
  • 1
  • 1
  • 3
5
votes
2 answers

Flash/Flex Speex audio decode, to play a speex file

I want to play *.spx files which encoded by Speex on the Web. But I have no knowledge of Flash/Flex or any Flash Audio codec. After Google search for a whole day, I got some solutions, that is: Do something wrapping Speex files with a FLV container…
Elf Sundae
  • 1,575
  • 16
  • 23
4
votes
1 answer

using STL with Alchemy

While Alchemy supports compiling C++, it seems that using the using the STL is trouble, mostly due to a problem with std::string. What's strange is that Alchemy seems to be using GNU libstd++ v3.4.6. It's hard to believe that std::string is broken…
paleozogt
  • 6,393
  • 11
  • 51
  • 94
4
votes
2 answers

Why does the Adobe Alchemy Tool create faster running flash byte code than the flex compiler?

I have seen a few blog entries on this and have had a discussion or two with my team mates but I would like to see what the stack overflow community thinks. So why does the Adobe Alchemy Tool create so much faster running flash byte code than the…
dennisjtaylor
  • 996
  • 1
  • 8
  • 17
3
votes
1 answer

Unsupported method: eth_sendTransaction. Alchemy does not hold users' private keys

I can't execute a send transaction method of my smart contract from the frontend by Alchemy I am a beginner and I am trying to execute a method from my frontend that sends a transaction to the blockchain but I get an error from alchemy saying that…
3
votes
2 answers

Error HH604: Error running JSON-RPC server: Must be authenticated! Hardhat Node.js Alchemy

I set up Hardhat in VScode with the required dependencies, running an Alchemy node with Metamask. I've tried most of the troubleshoots I have found online and have read most of the documentation but I'm still lost.. Whatever information you need I…
3
votes
2 answers

How to connect to either Metamask or Coinbase wallet?

How do you specify connection with Coinbase Wallet and Metamask separately? Right now when using window.ethereum.enable() both the Metamask and Coinbase Wallet extensions popup. I would like two separate buttons, one for Metamask and the other for…
cormacncheese
  • 1,251
  • 1
  • 13
  • 27
3
votes
2 answers

libFLAC porting problem using Adobe Alchemy

I'm trying to port FLAC encoder using Adobe Alchemy for use in flash but can't figure out where the problem is. I'm using Alchemy for Cygwin on Windows. It is properly installed and configured. The following are the steps that I have followed in…
Ninja
  • 163
  • 4
3
votes
2 answers

Nape vs Box2d ( Actionscript 3 physics engines )

I've been testing performance of the Nape physics engine vs the Box2D AS3 and Alchemy ports and it seems like Nape is a lot slower than both of them. I have read in a few places( here and here ) that it is supposed to be faster. Has anyone done…
Jordan
  • 1,233
  • 2
  • 12
  • 32
3
votes
3 answers

How to pass ByteArray to C code in alchemy?

I want to pass a byte array object from flex code to C code.How to do that?
karthick
  • 11,998
  • 6
  • 56
  • 88
3
votes
1 answer

Anyone doing anything yet with Adobe's Project Alchemy?

Making another appearance this year at MAX was Alchemy, Adobe's C/C++-to-AVM2-bytecode compiler. It seems like really interesting stuff -- I haven't yet had time to really dig in and try it out myself, but I can definitely imagine putting it to…
Christian Nunciato
  • 10,276
  • 2
  • 35
  • 45
3
votes
1 answer

globals broken with alchemy?

It seems that Adobe Alchemy isn't running global constructors. Here's some simple test code: #include class TestClass { public: TestClass(const char message[]) { printf("hello %s \n", message); } }; TestClass…
paleozogt
  • 6,393
  • 11
  • 51
  • 94
3
votes
3 answers

std::map broken in alchemy?

The following code tests the use of std::map with std::string as a key: #include #include #include using namespace std; typedef map test_map_t; int main(int argc, char **argv) { test_map_t test_map; …
paleozogt
  • 6,393
  • 11
  • 51
  • 94
3
votes
1 answer

What is the REST API POST call for alchemy?

I am currently trying to post and get a JSON from alchemy, I already get the get, howver, I cannot post, does anyone know the correct format to psot to alchemy from an edittext in an android app? Does anyone know, I really need to know what the call…
eli
  • 335
  • 1
  • 3
  • 18
3
votes
1 answer

Need help using libpng to read an image

Here is my function... I don't know why it's not working. The resulting image looks nothing like what the .png looks like. But there's no errors either. bool Bullet::read_png(std::string file_name, int pos) { png_structp png_ptr; png_infop…
jonathanasdf
  • 2,844
  • 2
  • 23
  • 26
1
2 3
9 10