Building Holochain Apps: Zome Code
Recall that for the DNA of a hApp, there can be many Zomes, and each one will have their own source code. Think of Zomes as the fundamental unit of composability for DNA. As a DNA developer you can think of Zomes as modules. We expect developers to reuse Zomes written by others, and thus Zomes can call one another's functionality, using the
call API function. Though currently Rust is the only available language for writing Zomes, note that these Zomes could be written in different languages (any language that compiles to WebAssembly) from one another in the future, and still access one another's functionality.
In the near future, this is likely to expand in diversity on both sides, Zome code and testing code.
Please note that this chapter is focused on explaining details of Holochain, not as a start to finish tutorial. If you'd like to start with a tutorial, and come back to explanations, check out this tutorial article on the Holochain medium.com publication.
suggest an edit