Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Java GOLD認定者がGoに浮気した話

Java GOLD認定者がGoに浮気した話

九州学生エンジニア交流会2023で発表した内容です。
https://nxtend.connpass.com/event/298168/

Avatar for 浦川仁成

浦川仁成

October 05, 2025
Tweet

More Decks by 浦川仁成

Other Decks in Technology

Transcript

  1. テクノロジーによって、新時代の買い物体験を生み出し、 流通の仕組みを革新する。 © Retail AI Inc. Proprietary & Confidential 所属

    Business Data Division Development Group 最終学歴 麻生情報ビジネス専門学校 社歴 半年 資格 Oracle Java GOLD 応用情報技術者試験 自己紹介
  2. テクノロジーによって、新時代の買い物体験を生み出し、 流通の仕組みを革新する。 © Retail AI Inc. Proprietary & Confidential Java(Hello,

    World!) public class Main { public static void main(String[] args) { String message = "Hello, World!"; System.out.println(message); } }
  3. テクノロジーによって、新時代の買い物体験を生み出し、 流通の仕組みを革新する。 © Retail AI Inc. Proprietary & Confidential public

    class Main { public static void main(String[] args) { String message = "Hello, World!"; System.out.println(message); } } package main import "fmt" func main() { message := "Hello, World!" fmt.Println(message) }
  4. テクノロジーによって、新時代の買い物体験を生み出し、 流通の仕組みを革新する。 © Retail AI Inc. Proprietary & Confidential Java(HTTPサーバー)

    import com.sun.net.httpserver.HttpServer; import com.sun.net.httpserver.HttpHandler; import com.sun.net.httpserver.HttpExchange; import java.io.IOException; import java.io.OutputStream; import java.net.InetSocketAddress; public class Main { public static void main(String[] args) throws IOException { HttpServer server = HttpServer.create(new InetSocketAddress(8080), 0); server.createContext("/", new RootHandler()); server.setExecutor(null); server.start(); } static class RootHandler implements HttpHandler { @Override public void handle(HttpExchange exchange) throws IOException { String response = "Hello, World!"; exchange.sendResponseHeaders(200, response.length()); OutputStream os = exchange.getResponseBody(); os.write(response.getBytes()); os.close(); } } }
  5. テクノロジーによって、新時代の買い物体験を生み出し、 流通の仕組みを革新する。 © Retail AI Inc. Proprietary & Confidential Go(HTTPサーバー)

    package main import ( "fmt" "net/http" ) func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, "Hello, World!") }) http.ListenAndServe(":8080", nil) }