---
title: "Discussion on \"ScalaNative - Build Native Applications In Scala\" | Hashnode"
description: "Discussion on \"ScalaNative - Build Native Applications In Scala\". Native application using Scala Native"
url: "https://hashnode.com/posts/scalanative-build-native-applications-in-scala/62695be9bbabafb0a9707c95"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [ScalaNative - Build Native Applications In Scala](https://yadukrishnan.live/scalanative-build-native-applications-in-scala?utm_source=hashnode&utm_medium=feed)

Native application using Scala Native

Apr 27, 2022 · 7 min read · yadukrishnan.live  
Updated Mar 22, 2023  
Read the article

-   [#scala](https://hashnode.com/tag/scala)

## Written by

[Yadukrishnan](https://hashnode.com/@yadukrishnan)

@yadukrishnan · Hamburg, Germany

  
[View profile](https://hashnode.com/@yadukrishnan)

Software Developer - Scala

Travel | Movies | History | Nature I am a software developer. Started my career as a Java developer, but later switched to Scala. I wish to write Scala articles which are easier for newbies to follow. I love to travel, prefer to be alone or in very small group. Love to watch movies/series.

## Responses 1

Markdown supported · ⌘↵ to post

[Norbert Scheller](https://hashnode.com/@norbertscheller)

[Jun 3, 2022](https://hashnode.com/posts/scalanative-build-native-applications-in-scala/62695be9bbabafb0a9707c95/comment/6299bed3a5004f19f574e71f)

Hey Yadu, really nice blog. Easy to read and to understand. All the important things to the point.

NitPick: There is a memory leak in your base64\_decode function. You malloc memory for combined, but you don't free it in the end. This is why garbage collectors a so useful right ;-)

[Yadukrishnan](https://hashnode.com/@yadukrishnan)

[Jun 4, 2022](https://hashnode.com/posts/scalanative-build-native-applications-in-scala/62695be9bbabafb0a9707c95/comment/6299bed3a5004f19f574e71f#reply-629bb0910522383652636104)

Hi Norbert, Thanks for the appreciation. Also thank you for pointing out the issue. Yes, definitely, too much pain to look after all allocation/unallocation. Also, tbh, I really struggled to write this small function even with google copy-paste :P
