Nope both. Holochain core is written in Rust and you code distributed apps ("DNA") in Rust. Polkadot core ("Substrate") is written in Rust and you code smart contracts in Rust ("Ink"). Both compile down to WASM.
Well color me ignorant. I am going to have to looker deeper into both (esp Polkadot), I have been procrastinating that for too long now.