---
title: "Discussion on \"Rust `struct` conversion to and from C `void*`\" | Hashnode"
description: "Discussion on \"Rust `struct` conversion to and from C `void*`\". I thought it would be a good idea to write a PostgreSQL foreign data wrapper (FDW) in Rust with PGX. My top three reasons:\n\nLearn how to write an FDW\nGet deeper into Rust programming\nHave some fun\n\nTurns out things are taking much longer than I assum..."
url: "https://hashnode.com/posts/rust-struct-conversion-to-and-from-c-void/5fe724546a146422083cd2ad"
---

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

Discussion

# [Rust \`struct\` conversion to and from C \`void\*\`](https://fatstacks.hashnode.dev/rust-struct-conversion-to-and-from-c-void?utm_source=hashnode&utm_medium=feed)

I thought it would be a good idea to write a PostgreSQL foreign data wrapper (FDW) in Rust with PGX. My top three reasons: Learn how to write an FDW Get deeper into Rust programming Have some fun Turns out things are taking much longer than I assum...

Dec 26, 2020 · 7 min read · fatstacks.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#rust](https://hashnode.com/tag/rust)
-   [#c](https://hashnode.com/tag/c)

## Written by

[Sebastian Dressler](https://hashnode.com/@theDressler)

@theDressler · Berlin, Germany

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

Building fat stacks

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
