<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Pass by Value on wid's blog</title><link>https://wid-blog.github.io/en/tags/pass-by-value/</link><description>Recent content in Pass by Value on wid's blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 13 Jun 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/en/tags/pass-by-value/index.xml" rel="self" type="application/rss+xml"/><item><title>Everything Is Pass by Value — Memory Transfer in Go, Java, and Python</title><link>https://wid-blog.github.io/en/posts/tech/language/everything-is-pass-by-value/</link><pubDate>Thu, 13 Jun 2024 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/en/posts/tech/language/everything-is-pass-by-value/</guid><description>Calling a function with an object is often described as pass by reference, but in memory all three languages copy values. Java copies a reference value, Python binds a new name to the same object (call by sharing), and Go copies a struct header — escape analysis decides where the values live.</description></item></channel></rss>